{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "import time\n",
    "os_train=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\Same_userid\\oc_train.csv')\n",
    "os_test=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\Same_userid\\oc_test.csv')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 删除没有购买东西的行，只删除test中没有的距离"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "indx=os_train[os_train['Discount_rate']<1].index\n",
    "discount=os_train.loc[indx]\n",
    "os_train=os_train.drop(indx,axis=0)\n",
    "discount.index=np.arange(0,len(discount),1)\n",
    "os_train.index=np.arange(0,len(os_train),1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#初始化\n",
    "a=set(os_train['Merchant_id'].values)\n",
    "s=pd.DataFrame()\n",
    "s['a']=list(a)\n",
    "os_train['shop_id']=0\n",
    "s.to_csv(r'D:\\Data\\TCForNewComer\\deal\\a.csv',index=False)\n",
    "os_train.to_csv(r'D:\\Data\\TCForNewComer\\deal\\os_train_shop.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "ha=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\a.csv')\n",
    "ha.index=np.arange(0,len(ha),1)\n",
    "ha['len']=0\n",
    "for i in ha.index:\n",
    "    ha.loc[i,'len']=len(os_train[os_train['Merchant_id']==ha.loc[i,'a']])\n",
    "ha=ha.sort_values(by=['len'],ascending=False).copy()\n",
    "ha.index=np.arange(0,len(ha),1)\n",
    "ha.to_csv(r'D:\\Data\\TCForNewComer\\deal\\a.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def shopn(id):           #计算店铺数量\n",
    "    merid.extend(list(id))\n",
    "    indexs=[]\n",
    "    for mid in id:\n",
    "        indexxx.extend(list(os_train[os_train['Merchant_id']==mid].index))\n",
    "        indexs.extend(list(os_train[os_train['Merchant_id']==mid].index))\n",
    "        #  avg=os_train[os_train['Merchant_id']==mid]['Discount_rate'].mean()\n",
    "\n",
    "        for uid in set(os_train[os_train['Merchant_id']==mid]['User_id'].values):\n",
    "            dis=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Distance'].max()\n",
    "            time_min=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Date_received'].min()\n",
    "            time_max=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Date_received'].max()\n",
    "            merchantid=set()\n",
    "            discount_rate=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Discount_rate'].max()\n",
    "            for ind in os_train[(os_train['User_id']==uid)&(os_train['Distance']==int(dis))].index:\n",
    "                if (os_train.loc[ind,'Discount_rate']==discount_rate) or (abs(os_train.loc[ind,'Date_received']-time_min)<7) or (abs(os_train.loc[ind,'Date_received']-time_max)<7):\n",
    "                    if ind not in indexxx and os_train.loc[ind,'Merchant_id'] not in merid:\n",
    "                        merchantid.add(os_train.loc[ind,'Merchant_id'])\n",
    "                    indexxx.extend([ind])\n",
    "                    indexs.extend([ind])\n",
    "#             print('merchantid:',merchantid,end='\\t')\n",
    "            if len(merchantid)!=0:\n",
    "                indexs.extend(shopn(merchantid))\n",
    "                indexxx.extend([ind])\n",
    "    return indexs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 450 time: 2394.547251701355 lenp(ha): 0.6443061942115229 rate: 0.04860657340589422 i: 1 ha.loc[0,'a'] 3117\n",
      "list(a)[0]: 3117 time: 0.8253052234649658 lenp(ha): 0.644035704625372 rate: 0.04814392620538674 i: 2 ha.loc[0,'a'] 7374\n",
      "list(a)[0]: 7374 time: 0.7585442066192627 lenp(ha): 0.643765215039221 rate: 0.047781439739009744 i: 3 ha.loc[0,'a'] 8363\n",
      "list(a)[0]: 8363 time: 0.8612916469573975 lenp(ha): 0.6434947254530701 rate: 0.04747618797785017 i: 4 ha.loc[0,'a'] 1253\n",
      "list(a)[0]: 1253 time: 0.45342493057250977 lenp(ha): 0.6432242358669191 rate: 0.04717093621669059 i: 5 ha.loc[0,'a'] 8656\n",
      "list(a)[0]: 8656 time: 0.5058462619781494 lenp(ha): 0.6426832566946172 rate: 0.04687045401429914 i: 6 ha.loc[0,'a'] 5183\n",
      "list(a)[0]: 5183 time: 0.6351895332336426 lenp(ha): 0.6424127671084663 rate: 0.046627206517125104 i: 7 ha.loc[0,'a'] 2434\n",
      "list(a)[0]: 2434 time: 0.43566036224365234 lenp(ha): 0.6421422775223153 rate: 0.0463934981374873 i: 8 ha.loc[0,'a'] 1923\n",
      "list(a)[0]: 1923 time: 0.3599588871002197 lenp(ha): 0.6418717879361645 rate: 0.0461597897578495 i: 9 ha.loc[0,'a'] 3656\n",
      "list(a)[0]: 3656 time: 0.5905721187591553 lenp(ha): 0.6413308087638626 rate: 0.04589746402560299 i: 10 ha.loc[0,'a'] 3171\n",
      "list(a)[0]: 3171 time: 0.34842872619628906 lenp(ha): 0.6410603191777117 rate: 0.04567806432226955 i: 11 ha.loc[0,'a'] 7397\n",
      "list(a)[0]: 7397 time: 0.32686924934387207 lenp(ha): 0.6405193400054098 rate: 0.045449125501399866 i: 12 ha.loc[0,'a'] 2567\n",
      "list(a)[0]: 2567 time: 0.5329515933990479 lenp(ha): 0.6402488504192588 rate: 0.04523449535683454 i: 13 ha.loc[0,'a'] 8212\n",
      "list(a)[0]: 8212 time: 0.295285701751709 lenp(ha): 0.6399783608331079 rate: 0.04502463477103733 i: 14 ha.loc[0,'a'] 4314\n",
      "list(a)[0]: 4314 time: 0.6703166961669922 lenp(ha): 0.6397078712469569 rate: 0.044814774185240124 i: 15 ha.loc[0,'a'] 931\n",
      "list(a)[0]: 931 time: 0.3749990463256836 lenp(ha): 0.6394373816608061 rate: 0.04461922227574727 i: 16 ha.loc[0,'a'] 2635\n",
      "list(a)[0]: 2635 time: 0.3575000762939453 lenp(ha): 0.6391668920746552 rate: 0.04442843992502254 i: 17 ha.loc[0,'a'] 7078\n",
      "list(a)[0]: 7078 time: 0.44455814361572266 lenp(ha): 0.6388964024885042 rate: 0.04424242713306592 i: 18 ha.loc[0,'a'] 2595\n",
      "list(a)[0]: 2595 time: 0.4417910575866699 lenp(ha): 0.6383554233162023 rate: 0.044027796988500595 i: 19 ha.loc[0,'a'] 1829\n",
      "list(a)[0]: 1829 time: 0.33840060234069824 lenp(ha): 0.6378144441439004 rate: 0.04385132331408022 i: 20 ha.loc[0,'a'] 3283\n",
      "list(a)[0]: 3283 time: 0.4712514877319336 lenp(ha): 0.6375439545577495 rate: 0.043684388757196074 i: 21 ha.loc[0,'a'] 4953\n",
      "list(a)[0]: 4953 time: 0.45875072479248047 lenp(ha): 0.6372734649715986 rate: 0.04351745420031193 i: 22 ha.loc[0,'a'] 7229\n",
      "list(a)[0]: 7229 time: 0.26520609855651855 lenp(ha): 0.6370029753854477 rate: 0.04335051964342779 i: 23 ha.loc[0,'a'] 1243\n",
      "list(a)[0]: 1243 time: 0.24464917182922363 lenp(ha): 0.6367324857992968 rate: 0.04318835464531176 i: 24 ha.loc[0,'a'] 7503\n",
      "list(a)[0]: 7503 time: 0.33137941360473633 lenp(ha): 0.6364619962131458 rate: 0.04303095920596386 i: 25 ha.loc[0,'a'] 974\n",
      "list(a)[0]: 974 time: 0.52541184425354 lenp(ha): 0.6361915066269949 rate: 0.04287356376661595 i: 26 ha.loc[0,'a'] 2306\n",
      "list(a)[0]: 2306 time: 0.3078186511993408 lenp(ha): 0.6359210170408439 rate: 0.04272570744480428 i: 27 ha.loc[0,'a'] 1004\n",
      "list(a)[0]: 1004 time: 0.6838207244873047 lenp(ha): 0.635380037868542 rate: 0.042506307741470836 i: 28 ha.loc[0,'a'] 6762\n",
      "list(a)[0]: 6762 time: 0.4597508907318115 lenp(ha): 0.6351095482823911 rate: 0.042363220978427284 i: 29 ha.loc[0,'a'] 3952\n",
      "list(a)[0]: 3952 time: 0.2807753086090088 lenp(ha): 0.6348390586962402 rate: 0.042224903774151855 i: 30 ha.loc[0,'a'] 6403\n",
      "list(a)[0]: 6403 time: 0.2842578887939453 lenp(ha): 0.6345685691100893 rate: 0.042091356128644536 i: 31 ha.loc[0,'a'] 3792\n",
      "list(a)[0]: 3792 time: 0.3384819030761719 lenp(ha): 0.6342980795239384 rate: 0.04196257804190534 i: 32 ha.loc[0,'a'] 8688\n",
      "list(a)[0]: 8688 time: 0.7464859485626221 lenp(ha): 0.6329456315931836 rate: 0.04170979142719507 i: 33 ha.loc[0,'a'] 1614\n",
      "list(a)[0]: 1614 time: 0.24364852905273438 lenp(ha): 0.6326751420070327 rate: 0.04158101334045587 i: 34 ha.loc[0,'a'] 5236\n",
      "list(a)[0]: 5236 time: 0.29277968406677246 lenp(ha): 0.6324046524208818 rate: 0.04145223525371668 i: 35 ha.loc[0,'a'] 2382\n",
      "list(a)[0]: 2382 time: 0.33087801933288574 lenp(ha): 0.6321341628347309 rate: 0.04132345716697748 i: 36 ha.loc[0,'a'] 6746\n",
      "list(a)[0]: 6746 time: 0.2872655391693115 lenp(ha): 0.63186367324858 rate: 0.0411994486390064 i: 37 ha.loc[0,'a'] 3898\n",
      "list(a)[0]: 3898 time: 0.25116848945617676 lenp(ha): 0.631593183662429 rate: 0.04107544011103533 i: 38 ha.loc[0,'a'] 1434\n",
      "list(a)[0]: 1434 time: 0.20855450630187988 lenp(ha): 0.6313226940762781 rate: 0.04095143158306425 i: 39 ha.loc[0,'a'] 1812\n",
      "list(a)[0]: 1812 time: 0.3198826313018799 lenp(ha): 0.6310522044901271 rate: 0.040827423055093175 i: 40 ha.loc[0,'a'] 5734\n",
      "list(a)[0]: 5734 time: 0.2040402889251709 lenp(ha): 0.6307817149039762 rate: 0.04070818408589021 i: 41 ha.loc[0,'a'] 3472\n",
      "list(a)[0]: 3472 time: 0.17998242378234863 lenp(ha): 0.6305112253178252 rate: 0.04058894511668726 i: 42 ha.loc[0,'a'] 8808\n",
      "list(a)[0]: 8808 time: 0.21410107612609863 lenp(ha): 0.6302407357316744 rate: 0.040474475706252414 i: 43 ha.loc[0,'a'] 5075\n",
      "list(a)[0]: 5075 time: 0.28476381301879883 lenp(ha): 0.6299702461455234 rate: 0.040360006295817576 i: 44 ha.loc[0,'a'] 187\n",
      "list(a)[0]: 187 time: 0.34303832054138184 lenp(ha): 0.6294292669732215 rate: 0.0402359977678465 i: 45 ha.loc[0,'a'] 6710\n",
      "list(a)[0]: 6710 time: 0.30681824684143066 lenp(ha): 0.6291587773870706 rate: 0.04012152835741165 i: 46 ha.loc[0,'a'] 5362\n",
      "list(a)[0]: 5362 time: 0.09929418563842773 lenp(ha): 0.6288882878009197 rate: 0.04001182850574493 i: 47 ha.loc[0,'a'] 122\n",
      "list(a)[0]: 122 time: 0.36948394775390625 lenp(ha): 0.6283473086286178 rate: 0.03988781997777385 i: 48 ha.loc[0,'a'] 2334\n",
      "list(a)[0]: 2334 time: 0.3304102420806885 lenp(ha): 0.6280768190424668 rate: 0.03977812012610713 i: 49 ha.loc[0,'a'] 3389\n",
      "list(a)[0]: 3389 time: 0.3324110507965088 lenp(ha): 0.627806329456316 rate: 0.03967318983320853 i: 50 ha.loc[0,'a'] 1950\n",
      "list(a)[0]: 1950 time: 0.2647359371185303 lenp(ha): 0.627535839870165 rate: 0.03956825954030992 i: 51 ha.loc[0,'a'] 503\n",
      "list(a)[0]: 503 time: 0.30184221267700195 lenp(ha): 0.6272653502840141 rate: 0.03946332924741132 i: 52 ha.loc[0,'a'] 685\n",
      "list(a)[0]: 685 time: 0.188002347946167 lenp(ha): 0.6269948606978631 rate: 0.039358398954512715 i: 53 ha.loc[0,'a'] 4676\n",
      "list(a)[0]: 4676 time: 0.23161602020263672 lenp(ha): 0.6267243711117122 rate: 0.039258238220382234 i: 54 ha.loc[0,'a'] 2749\n",
      "list(a)[0]: 2749 time: 0.2151014804840088 lenp(ha): 0.6264538815255613 rate: 0.03915807748625175 i: 55 ha.loc[0,'a'] 7301\n",
      "list(a)[0]: 7301 time: 0.2140672206878662 lenp(ha): 0.6261833919394103 rate: 0.03905791675212126 i: 56 ha.loc[0,'a'] 175\n",
      "list(a)[0]: 175 time: 0.21907997131347656 lenp(ha): 0.6256424127671084 rate: 0.038952986459222655 i: 57 ha.loc[0,'a'] 7613\n",
      "list(a)[0]: 7613 time: 0.2456514835357666 lenp(ha): 0.6253719231809576 rate: 0.038852825725092174 i: 58 ha.loc[0,'a'] 1951\n",
      "list(a)[0]: 1951 time: 0.2737276554107666 lenp(ha): 0.6251014335948066 rate: 0.03875266499096169 i: 59 ha.loc[0,'a'] 3155\n",
      "list(a)[0]: 3155 time: 0.29679131507873535 lenp(ha): 0.6248309440086557 rate: 0.038657273815599316 i: 60 ha.loc[0,'a'] 7307\n",
      "list(a)[0]: 7307 time: 0.27530956268310547 lenp(ha): 0.6242899648363538 rate: 0.03855234352270071 i: 61 ha.loc[0,'a'] 8013\n",
      "list(a)[0]: 8013 time: 0.19536209106445312 lenp(ha): 0.6240194752502028 rate: 0.03845695234733835 i: 62 ha.loc[0,'a'] 5602\n",
      "list(a)[0]: 5602 time: 0.22864413261413574 lenp(ha): 0.6237489856640519 rate: 0.03836156117197598 i: 63 ha.loc[0,'a'] 6513\n",
      "list(a)[0]: 6513 time: 0.2471904754638672 lenp(ha): 0.623478496077901 rate: 0.038266169996613614 i: 64 ha.loc[0,'a'] 4123\n",
      "list(a)[0]: 4123 time: 0.22459816932678223 lenp(ha): 0.6232080064917501 rate: 0.03817077882125124 i: 65 ha.loc[0,'a'] 8108\n",
      "list(a)[0]: 8108 time: 0.20808076858520508 lenp(ha): 0.6229375169055992 rate: 0.03807538764588888 i: 66 ha.loc[0,'a'] 2857\n",
      "list(a)[0]: 2857 time: 0.2115638256072998 lenp(ha): 0.6226670273194482 rate: 0.03797999647052651 i: 67 ha.loc[0,'a'] 3103\n",
      "list(a)[0]: 3103 time: 0.2852602005004883 lenp(ha): 0.6223965377332973 rate: 0.037884605295164145 i: 68 ha.loc[0,'a'] 814\n",
      "list(a)[0]: 814 time: 0.2531728744506836 lenp(ha): 0.6221260481471463 rate: 0.037789214119801774 i: 69 ha.loc[0,'a'] 6611\n",
      "list(a)[0]: 6611 time: 0.16747093200683594 lenp(ha): 0.6218555585609954 rate: 0.03769382294443941 i: 70 ha.loc[0,'a'] 3903\n",
      "list(a)[0]: 3903 time: 0.29982781410217285 lenp(ha): 0.6213145793886935 rate: 0.03758412309277269 i: 71 ha.loc[0,'a'] 3170\n",
      "list(a)[0]: 3170 time: 0.24214553833007812 lenp(ha): 0.6210440898025426 rate: 0.037493501476178435 i: 72 ha.loc[0,'a'] 5888\n",
      "list(a)[0]: 5888 time: 0.25119900703430176 lenp(ha): 0.6207736002163917 rate: 0.03740287985958419 i: 73 ha.loc[0,'a'] 7438\n",
      "list(a)[0]: 7438 time: 0.19204306602478027 lenp(ha): 0.6205031106302408 rate: 0.03731225824298994 i: 74 ha.loc[0,'a'] 2519\n",
      "list(a)[0]: 2519 time: 0.22810602188110352 lenp(ha): 0.6202326210440898 rate: 0.037221636626395695 i: 75 ha.loc[0,'a'] 1859\n",
      "list(a)[0]: 1859 time: 0.2596917152404785 lenp(ha): 0.6199621314579389 rate: 0.03713101500980144 i: 76 ha.loc[0,'a'] 8269\n",
      "list(a)[0]: 8269 time: 0.26971912384033203 lenp(ha): 0.6196916418717879 rate: 0.037040393393207194 i: 77 ha.loc[0,'a'] 317\n",
      "list(a)[0]: 317 time: 0.12633776664733887 lenp(ha): 0.619421152285637 rate: 0.03694977177661295 i: 78 ha.loc[0,'a'] 411\n",
      "list(a)[0]: 411 time: 0.17947697639465332 lenp(ha): 0.619150662699486 rate: 0.03686391971878682 i: 79 ha.loc[0,'a'] 8441\n",
      "list(a)[0]: 8441 time: 0.43164920806884766 lenp(ha): 0.6183391939410333 rate: 0.036692215603134556 i: 80 ha.loc[0,'a'] 833\n",
      "list(a)[0]: 833 time: 0.15391182899475098 lenp(ha): 0.6180687043548824 rate: 0.036606363545308426 i: 81 ha.loc[0,'a'] 109\n",
      "list(a)[0]: 109 time: 0.21259331703186035 lenp(ha): 0.6177982147687314 rate: 0.036520511487482296 i: 82 ha.loc[0,'a'] 1944\n",
      "list(a)[0]: 1944 time: 0.19301390647888184 lenp(ha): 0.6175277251825805 rate: 0.03643465942965616 i: 83 ha.loc[0,'a'] 2051\n",
      "list(a)[0]: 2051 time: 0.2429351806640625 lenp(ha): 0.6172572355964295 rate: 0.03634880737183003 i: 84 ha.loc[0,'a'] 2941\n",
      "list(a)[0]: 2941 time: 0.15694856643676758 lenp(ha): 0.6169867460102786 rate: 0.0362629553140039 i: 85 ha.loc[0,'a'] 5199\n",
      "list(a)[0]: 5199 time: 0.2391366958618164 lenp(ha): 0.6164457668379767 rate: 0.03617233369740965 i: 86 ha.loc[0,'a'] 3318\n",
      "list(a)[0]: 3318 time: 0.2391672134399414 lenp(ha): 0.6161752772518259 rate: 0.03609125119835164 i: 87 ha.loc[0,'a'] 4466\n",
      "list(a)[0]: 4466 time: 0.19301438331604004 lenp(ha): 0.6159047876656749 rate: 0.036010168699293625 i: 88 ha.loc[0,'a'] 4617\n",
      "list(a)[0]: 4617 time: 0.20006275177001953 lenp(ha): 0.615363808493373 rate: 0.03591954708269938 i: 89 ha.loc[0,'a'] 2950\n",
      "list(a)[0]: 2950 time: 0.17496585845947266 lenp(ha): 0.6150933189072221 rate: 0.035838464583641365 i: 90 ha.loc[0,'a'] 5261\n",
      "list(a)[0]: 5261 time: 0.252671480178833 lenp(ha): 0.6148228293210711 rate: 0.03575738208458336 i: 91 ha.loc[0,'a'] 642\n",
      "list(a)[0]: 642 time: 0.21159076690673828 lenp(ha): 0.6145523397349202 rate: 0.035676299585525345 i: 92 ha.loc[0,'a'] 7506\n",
      "list(a)[0]: 7506 time: 0.14037442207336426 lenp(ha): 0.6142818501487692 rate: 0.03559521708646733 i: 93 ha.loc[0,'a'] 4523\n",
      "list(a)[0]: 4523 time: 0.14538812637329102 lenp(ha): 0.6140113605626183 rate: 0.03551413458740932 i: 94 ha.loc[0,'a'] 4053\n",
      "list(a)[0]: 4053 time: 0.19903087615966797 lenp(ha): 0.6137408709764675 rate: 0.03543782164711942 i: 95 ha.loc[0,'a'] 5039\n",
      "list(a)[0]: 5039 time: 0.18800091743469238 lenp(ha): 0.6134703813903165 rate: 0.03536150870682953 i: 96 ha.loc[0,'a'] 6542\n",
      "list(a)[0]: 6542 time: 0.12836408615112305 lenp(ha): 0.6131998918041656 rate: 0.035285195766539636 i: 97 ha.loc[0,'a'] 4099\n",
      "list(a)[0]: 4099 time: 0.2190876007080078 lenp(ha): 0.6129294022180146 rate: 0.035208882826249746 i: 98 ha.loc[0,'a'] 3674\n",
      "list(a)[0]: 3674 time: 0.3098258972167969 lenp(ha): 0.6123884230457127 rate: 0.03510395253335114 i: 99 ha.loc[0,'a'] 385\n",
      "list(a)[0]: 385 time: 0.15541386604309082 lenp(ha): 0.6121179334595618 rate: 0.035027639593061245 i: 100 ha.loc[0,'a'] 3722\n",
      "list(a)[0]: 3722 time: 0.2110908031463623 lenp(ha): 0.6118474438734108 rate: 0.03495132665277135 i: 101 ha.loc[0,'a'] 592\n",
      "list(a)[0]: 592 time: 0.11276555061340332 lenp(ha): 0.6115769542872599 rate: 0.034879783271249576 i: 102 ha.loc[0,'a'] 1398\n",
      "list(a)[0]: 1398 time: 0.2080531120300293 lenp(ha): 0.611306464701109 rate: 0.0348082398897278 i: 103 ha.loc[0,'a'] 4583\n",
      "list(a)[0]: 4583 time: 0.23011088371276855 lenp(ha): 0.6110359751149581 rate: 0.03473669650820602 i: 104 ha.loc[0,'a'] 5155\n",
      "list(a)[0]: 5155 time: 0.36011767387390137 lenp(ha): 0.6104949959426562 rate: 0.034598379303930595 i: 105 ha.loc[0,'a'] 1805\n",
      "list(a)[0]: 1805 time: 0.1489255428314209 lenp(ha): 0.6102245063565053 rate: 0.034526835922408815 i: 106 ha.loc[0,'a'] 7550\n",
      "list(a)[0]: 7550 time: 0.2601933479309082 lenp(ha): 0.6099540167703543 rate: 0.03445529254088704 i: 107 ha.loc[0,'a'] 4149\n",
      "list(a)[0]: 4149 time: 0.1424109935760498 lenp(ha): 0.6096835271842034 rate: 0.034388518718133386 i: 108 ha.loc[0,'a'] 6144\n",
      "list(a)[0]: 6144 time: 0.18549442291259766 lenp(ha): 0.6094130375980524 rate: 0.03432174489537973 i: 109 ha.loc[0,'a'] 1637\n",
      "list(a)[0]: 1637 time: 0.21757984161376953 lenp(ha): 0.6091425480119016 rate: 0.034254971072626074 i: 110 ha.loc[0,'a'] 1061\n",
      "list(a)[0]: 1061 time: 0.18652701377868652 lenp(ha): 0.6088720584257507 rate: 0.03418819724987241 i: 111 ha.loc[0,'a'] 431\n",
      "list(a)[0]: 431 time: 0.25116944313049316 lenp(ha): 0.6086015688395997 rate: 0.034121423427118755 i: 112 ha.loc[0,'a'] 3561\n",
      "list(a)[0]: 3561 time: 0.16895031929016113 lenp(ha): 0.6083310792534488 rate: 0.0340546496043651 i: 113 ha.loc[0,'a'] 8032\n",
      "list(a)[0]: 8032 time: 0.2010354995727539 lenp(ha): 0.6080605896672978 rate: 0.03398787578161144 i: 114 ha.loc[0,'a'] 1177\n",
      "list(a)[0]: 1177 time: 0.1735081672668457 lenp(ha): 0.6077901000811469 rate: 0.03392110195885779 i: 115 ha.loc[0,'a'] 541\n",
      "list(a)[0]: 541 time: 0.14087605476379395 lenp(ha): 0.6075196104949959 rate: 0.03385432813610413 i: 116 ha.loc[0,'a'] 3353\n",
      "list(a)[0]: 3353 time: 0.19652056694030762 lenp(ha): 0.607249120908845 rate: 0.033787554313350475 i: 117 ha.loc[0,'a'] 8594\n",
      "list(a)[0]: 8594 time: 0.1389009952545166 lenp(ha): 0.606978631322694 rate: 0.03372078049059681 i: 118 ha.loc[0,'a'] 6787\n",
      "list(a)[0]: 6787 time: 0.1669762134552002 lenp(ha): 0.6067081417365432 rate: 0.033654006667843156 i: 119 ha.loc[0,'a'] 1616\n",
      "list(a)[0]: 1616 time: 0.1163330078125 lenp(ha): 0.6064376521503922 rate: 0.03359200240385762 i: 120 ha.loc[0,'a'] 1430\n",
      "list(a)[0]: 1430 time: 0.4376659393310547 lenp(ha): 0.6053556938057885 rate: 0.03343937652327783 i: 121 ha.loc[0,'a'] 7129\n",
      "list(a)[0]: 7129 time: 0.13936972618103027 lenp(ha): 0.6050852042196375 rate: 0.03337737225929229 i: 122 ha.loc[0,'a'] 461\n",
      "list(a)[0]: 461 time: 0.14140820503234863 lenp(ha): 0.6048147146334866 rate: 0.03331536799530675 i: 123 ha.loc[0,'a'] 3585\n",
      "list(a)[0]: 3585 time: 0.21707677841186523 lenp(ha): 0.6045442250473356 rate: 0.03325336373132121 i: 124 ha.loc[0,'a'] 2435\n",
      "list(a)[0]: 2435 time: 0.14739227294921875 lenp(ha): 0.6042737354611848 rate: 0.033191359467335674 i: 125 ha.loc[0,'a'] 246\n",
      "list(a)[0]: 246 time: 0.15541338920593262 lenp(ha): 0.6040032458750338 rate: 0.03312935520335014 i: 126 ha.loc[0,'a'] 8746\n",
      "list(a)[0]: 8746 time: 0.08873438835144043 lenp(ha): 0.6037327562888829 rate: 0.0330673509393646 i: 127 ha.loc[0,'a'] 4930\n",
      "list(a)[0]: 4930 time: 0.1388709545135498 lenp(ha): 0.603462266702732 rate: 0.03300534667537906 i: 128 ha.loc[0,'a'] 8835\n",
      "list(a)[0]: 8835 time: 0.21256470680236816 lenp(ha): 0.603191777116581 rate: 0.032943342411393524 i: 129 ha.loc[0,'a'] 6508\n",
      "list(a)[0]: 6508 time: 0.20253777503967285 lenp(ha): 0.6029212875304301 rate: 0.032881338147407985 i: 130 ha.loc[0,'a'] 2625\n",
      "list(a)[0]: 2625 time: 0.08726310729980469 lenp(ha): 0.6026507979442791 rate: 0.032819333883422445 i: 131 ha.loc[0,'a'] 2675\n",
      "list(a)[0]: 2675 time: 0.09374833106994629 lenp(ha): 0.6023803083581282 rate: 0.032757329619436906 i: 132 ha.loc[0,'a'] 4370\n",
      "list(a)[0]: 4370 time: 0.3464200496673584 lenp(ha): 0.6015688395996754 rate: 0.03264286020900207 i: 133 ha.loc[0,'a'] 5822\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 5822 time: 0.1043083667755127 lenp(ha): 0.6012983500135245 rate: 0.03258085594501653 i: 134 ha.loc[0,'a'] 286\n",
      "list(a)[0]: 286 time: 0.4061274528503418 lenp(ha): 0.6007573708412226 rate: 0.032466386534581684 i: 135 ha.loc[0,'a'] 889\n",
      "list(a)[0]: 889 time: 0.18850350379943848 lenp(ha): 0.6002163916689207 rate: 0.03239961271182803 i: 136 ha.loc[0,'a'] 2296\n",
      "list(a)[0]: 2296 time: 0.16747665405273438 lenp(ha): 0.5999459020827698 rate: 0.03233760844784249 i: 137 ha.loc[0,'a'] 7495\n",
      "list(a)[0]: 7495 time: 0.2155745029449463 lenp(ha): 0.5996754124966189 rate: 0.03228037374262507 i: 138 ha.loc[0,'a'] 386\n",
      "list(a)[0]: 386 time: 0.11330270767211914 lenp(ha): 0.599404922910468 rate: 0.03222313903740765 i: 139 ha.loc[0,'a'] 3732\n",
      "list(a)[0]: 3732 time: 0.21306657791137695 lenp(ha): 0.5988639437381661 rate: 0.032156365214653995 i: 140 ha.loc[0,'a'] 5097\n",
      "list(a)[0]: 5097 time: 0.15491175651550293 lenp(ha): 0.5985934541520151 rate: 0.03209913050943657 i: 141 ha.loc[0,'a'] 2177\n",
      "list(a)[0]: 2177 time: 0.1048133373260498 lenp(ha): 0.5983229645658642 rate: 0.03204189580421915 i: 142 ha.loc[0,'a'] 6779\n",
      "list(a)[0]: 6779 time: 0.1388695240020752 lenp(ha): 0.5980524749797133 rate: 0.03198466109900173 i: 143 ha.loc[0,'a'] 8520\n",
      "list(a)[0]: 8520 time: 0.13034725189208984 lenp(ha): 0.5977819853935623 rate: 0.03192742639378431 i: 144 ha.loc[0,'a'] 1001\n",
      "list(a)[0]: 1001 time: 0.13736414909362793 lenp(ha): 0.5975114958074114 rate: 0.03187019168856689 i: 145 ha.loc[0,'a'] 8000\n",
      "list(a)[0]: 8000 time: 0.24665594100952148 lenp(ha): 0.5972410062212605 rate: 0.03181295698334947 i: 146 ha.loc[0,'a'] 201\n",
      "list(a)[0]: 201 time: 0.16894865036010742 lenp(ha): 0.5969705166351096 rate: 0.03175572227813205 i: 147 ha.loc[0,'a'] 6670\n",
      "list(a)[0]: 6670 time: 0.2286067008972168 lenp(ha): 0.5967000270489586 rate: 0.03169848757291463 i: 148 ha.loc[0,'a'] 514\n",
      "list(a)[0]: 514 time: 0.18900251388549805 lenp(ha): 0.5964295374628077 rate: 0.03164125286769721 i: 149 ha.loc[0,'a'] 2433\n",
      "list(a)[0]: 2433 time: 0.3635063171386719 lenp(ha): 0.5958885582905058 rate: 0.0315363225747986 i: 150 ha.loc[0,'a'] 2496\n",
      "list(a)[0]: 2496 time: 0.1910076141357422 lenp(ha): 0.5956180687043549 rate: 0.03147908786958119 i: 151 ha.loc[0,'a'] 5516\n",
      "list(a)[0]: 5516 time: 0.12232661247253418 lenp(ha): 0.5953475791182039 rate: 0.031421853164363765 i: 152 ha.loc[0,'a'] 5163\n",
      "list(a)[0]: 5163 time: 0.13034677505493164 lenp(ha): 0.595077089532053 rate: 0.03136461845914634 i: 153 ha.loc[0,'a'] 5053\n",
      "list(a)[0]: 5053 time: 0.16894936561584473 lenp(ha): 0.5948065999459021 rate: 0.03130738375392893 i: 154 ha.loc[0,'a'] 7170\n",
      "list(a)[0]: 7170 time: 0.139570951461792 lenp(ha): 0.5945361103597512 rate: 0.031250149048711505 i: 155 ha.loc[0,'a'] 571\n",
      "list(a)[0]: 571 time: 0.09926342964172363 lenp(ha): 0.5942656207736002 rate: 0.031192914343494083 i: 156 ha.loc[0,'a'] 200\n",
      "list(a)[0]: 200 time: 0.11831331253051758 lenp(ha): 0.5939951311874493 rate: 0.031135679638276664 i: 157 ha.loc[0,'a'] 4519\n",
      "list(a)[0]: 4519 time: 0.2556800842285156 lenp(ha): 0.5934541520151474 rate: 0.031073675374291124 i: 158 ha.loc[0,'a'] 8267\n",
      "list(a)[0]: 8267 time: 0.13235187530517578 lenp(ha): 0.5931836624289964 rate: 0.031021210227841822 i: 159 ha.loc[0,'a'] 2422\n",
      "list(a)[0]: 2422 time: 0.13836932182312012 lenp(ha): 0.5929131728428455 rate: 0.03096874508139252 i: 160 ha.loc[0,'a'] 876\n",
      "list(a)[0]: 876 time: 0.15842223167419434 lenp(ha): 0.5926426832566947 rate: 0.030916279934943218 i: 161 ha.loc[0,'a'] 5847\n",
      "list(a)[0]: 5847 time: 0.09124112129211426 lenp(ha): 0.5923721936705437 rate: 0.030863814788493916 i: 162 ha.loc[0,'a'] 6146\n",
      "list(a)[0]: 6146 time: 0.2421436309814453 lenp(ha): 0.5921017040843928 rate: 0.030811349642044614 i: 163 ha.loc[0,'a'] 619\n",
      "list(a)[0]: 619 time: 0.18900227546691895 lenp(ha): 0.5918312144982418 rate: 0.03075888449559531 i: 164 ha.loc[0,'a'] 2969\n",
      "list(a)[0]: 2969 time: 0.11631011962890625 lenp(ha): 0.5915607249120909 rate: 0.03070641934914601 i: 165 ha.loc[0,'a'] 4013\n",
      "list(a)[0]: 4013 time: 0.17446303367614746 lenp(ha): 0.5912902353259399 rate: 0.030653954202696707 i: 166 ha.loc[0,'a'] 800\n",
      "list(a)[0]: 800 time: 0.2005300521850586 lenp(ha): 0.591019745739789 rate: 0.030601489056247405 i: 167 ha.loc[0,'a'] 6817\n",
      "list(a)[0]: 6817 time: 0.10578250885009766 lenp(ha): 0.590749256153638 rate: 0.030549023909798103 i: 168 ha.loc[0,'a'] 5512\n",
      "list(a)[0]: 5512 time: 0.18900275230407715 lenp(ha): 0.5904787665674871 rate: 0.030496558763348804 i: 169 ha.loc[0,'a'] 3441\n",
      "list(a)[0]: 3441 time: 0.1253340244293213 lenp(ha): 0.5902082769813363 rate: 0.030444093616899502 i: 170 ha.loc[0,'a'] 6179\n",
      "list(a)[0]: 6179 time: 0.12984538078308105 lenp(ha): 0.5899377873951853 rate: 0.0303916284704502 i: 171 ha.loc[0,'a'] 3644\n",
      "list(a)[0]: 3644 time: 0.16343069076538086 lenp(ha): 0.5896672978090344 rate: 0.030339163324000898 i: 172 ha.loc[0,'a'] 8575\n",
      "list(a)[0]: 8575 time: 0.16995024681091309 lenp(ha): 0.5893968082228834 rate: 0.030286698177551596 i: 173 ha.loc[0,'a'] 351\n",
      "list(a)[0]: 351 time: 0.14288043975830078 lenp(ha): 0.5891263186367325 rate: 0.030234233031102294 i: 174 ha.loc[0,'a'] 7788\n",
      "list(a)[0]: 7788 time: 0.2120957374572754 lenp(ha): 0.5888558290505815 rate: 0.03018176788465299 i: 175 ha.loc[0,'a'] 1412\n",
      "list(a)[0]: 1412 time: 0.13536334037780762 lenp(ha): 0.5885853394644306 rate: 0.03012930273820369 i: 176 ha.loc[0,'a'] 8666\n",
      "list(a)[0]: 8666 time: 0.15456366539001465 lenp(ha): 0.5883148498782796 rate: 0.030076837591754387 i: 177 ha.loc[0,'a'] 2784\n",
      "list(a)[0]: 2784 time: 0.1113443374633789 lenp(ha): 0.5880443602921287 rate: 0.030024372445305085 i: 178 ha.loc[0,'a'] 8314\n",
      "list(a)[0]: 8314 time: 0.14591717720031738 lenp(ha): 0.5877738707059779 rate: 0.029971907298855783 i: 179 ha.loc[0,'a'] 478\n",
      "list(a)[0]: 478 time: 0.3464207649230957 lenp(ha): 0.587232891533676 rate: 0.029876516123493416 i: 180 ha.loc[0,'a'] 707\n",
      "list(a)[0]: 707 time: 0.09026789665222168 lenp(ha): 0.586962401947525 rate: 0.029824050977044114 i: 181 ha.loc[0,'a'] 6724\n",
      "list(a)[0]: 6724 time: 0.1288444995880127 lenp(ha): 0.5866919123613741 rate: 0.02977158583059481 i: 182 ha.loc[0,'a'] 1644\n",
      "list(a)[0]: 1644 time: 0.14792346954345703 lenp(ha): 0.5864214227752231 rate: 0.02971912068414551 i: 183 ha.loc[0,'a'] 4832\n",
      "list(a)[0]: 4832 time: 0.12934494018554688 lenp(ha): 0.5861509331890722 rate: 0.029671425096464327 i: 184 ha.loc[0,'a'] 3239\n",
      "list(a)[0]: 3239 time: 0.07620453834533691 lenp(ha): 0.5858804436029212 rate: 0.029623729508783142 i: 185 ha.loc[0,'a'] 3980\n",
      "list(a)[0]: 3980 time: 0.18298673629760742 lenp(ha): 0.5856099540167704 rate: 0.02957603392110196 i: 186 ha.loc[0,'a'] 3886\n",
      "list(a)[0]: 3886 time: 0.15191888809204102 lenp(ha): 0.5853394644306195 rate: 0.029533107892188895 i: 187 ha.loc[0,'a'] 4965\n",
      "list(a)[0]: 4965 time: 0.09929513931274414 lenp(ha): 0.5850689748444685 rate: 0.02948541230450771 i: 188 ha.loc[0,'a'] 6034\n",
      "list(a)[0]: 6034 time: 0.1072535514831543 lenp(ha): 0.5847984852583176 rate: 0.029437716716826528 i: 189 ha.loc[0,'a'] 3507\n",
      "list(a)[0]: 3507 time: 0.18549394607543945 lenp(ha): 0.5842575060860157 rate: 0.029385251570377226 i: 190 ha.loc[0,'a'] 7771\n",
      "list(a)[0]: 7771 time: 0.1739637851715088 lenp(ha): 0.5839870164998647 rate: 0.02933755598269604 i: 191 ha.loc[0,'a'] 4389\n",
      "list(a)[0]: 4389 time: 0.10331082344055176 lenp(ha): 0.5837165269137138 rate: 0.02928986039501486 i: 192 ha.loc[0,'a'] 6238\n",
      "list(a)[0]: 6238 time: 0.13235020637512207 lenp(ha): 0.5834460373275628 rate: 0.029242164807333673 i: 193 ha.loc[0,'a'] 7018\n",
      "list(a)[0]: 7018 time: 0.11684298515319824 lenp(ha): 0.583175547741412 rate: 0.02919446921965249 i: 194 ha.loc[0,'a'] 6089\n",
      "list(a)[0]: 6089 time: 0.10778379440307617 lenp(ha): 0.5829050581552611 rate: 0.029146773631971306 i: 195 ha.loc[0,'a'] 3038\n",
      "list(a)[0]: 3038 time: 0.12784147262573242 lenp(ha): 0.5826345685691101 rate: 0.029099078044290124 i: 196 ha.loc[0,'a'] 519\n",
      "list(a)[0]: 519 time: 0.14488601684570312 lenp(ha): 0.5823640789829592 rate: 0.02905138245660894 i: 197 ha.loc[0,'a'] 4377\n",
      "list(a)[0]: 4377 time: 0.15440773963928223 lenp(ha): 0.5820935893968082 rate: 0.029003686868927757 i: 198 ha.loc[0,'a'] 4888\n",
      "list(a)[0]: 4888 time: 0.09324884414672852 lenp(ha): 0.5818230998106573 rate: 0.02895599128124657 i: 199 ha.loc[0,'a'] 5777\n",
      "list(a)[0]: 5777 time: 0.17797350883483887 lenp(ha): 0.5815526102245063 rate: 0.02890829569356539 i: 200 ha.loc[0,'a'] 4567\n",
      "list(a)[0]: 4567 time: 0.10528063774108887 lenp(ha): 0.5812821206383554 rate: 0.028860600105884204 i: 201 ha.loc[0,'a'] 2365\n",
      "list(a)[0]: 2365 time: 0.18098163604736328 lenp(ha): 0.5810116310522044 rate: 0.028812904518203022 i: 202 ha.loc[0,'a'] 5639\n",
      "list(a)[0]: 5639 time: 0.12533283233642578 lenp(ha): 0.5807411414660536 rate: 0.028765208930521837 i: 203 ha.loc[0,'a'] 1345\n",
      "list(a)[0]: 1345 time: 0.3409078121185303 lenp(ha): 0.5796591831214498 rate: 0.028655509078855116 i: 204 ha.loc[0,'a'] 416\n",
      "list(a)[0]: 416 time: 0.11782050132751465 lenp(ha): 0.5793886935352989 rate: 0.02860781349117393 i: 205 ha.loc[0,'a'] 5385\n",
      "list(a)[0]: 5385 time: 0.15340948104858398 lenp(ha): 0.5791182039491479 rate: 0.02856011790349275 i: 206 ha.loc[0,'a'] 233\n",
      "list(a)[0]: 233 time: 0.17446398735046387 lenp(ha): 0.578847714362997 rate: 0.028512422315811563 i: 207 ha.loc[0,'a'] 6060\n",
      "list(a)[0]: 6060 time: 0.15090131759643555 lenp(ha): 0.5785772247768461 rate: 0.02846472672813038 i: 208 ha.loc[0,'a'] 3861\n",
      "list(a)[0]: 3861 time: 0.16493773460388184 lenp(ha): 0.5783067351906952 rate: 0.028417031140449196 i: 209 ha.loc[0,'a'] 5181\n",
      "list(a)[0]: 5181 time: 0.3770308494567871 lenp(ha): 0.5774952664322424 rate: 0.028307331288782475 i: 210 ha.loc[0,'a'] 1214\n",
      "list(a)[0]: 1214 time: 0.11179757118225098 lenp(ha): 0.5772247768460914 rate: 0.02825963570110129 i: 211 ha.loc[0,'a'] 4530\n",
      "list(a)[0]: 4530 time: 0.1559157371520996 lenp(ha): 0.5769542872599405 rate: 0.028211940113420108 i: 212 ha.loc[0,'a'] 4785\n",
      "list(a)[0]: 4785 time: 0.1804800033569336 lenp(ha): 0.5766837976737895 rate: 0.028164244525738923 i: 213 ha.loc[0,'a'] 5040\n",
      "list(a)[0]: 5040 time: 0.15541625022888184 lenp(ha): 0.5764133080876386 rate: 0.02811654893805774 i: 214 ha.loc[0,'a'] 397\n",
      "list(a)[0]: 397 time: 0.06116223335266113 lenp(ha): 0.5761428185014877 rate: 0.028068853350376555 i: 215 ha.loc[0,'a'] 5846\n",
      "list(a)[0]: 5846 time: 0.13836669921875 lenp(ha): 0.5758723289153368 rate: 0.028021157762695374 i: 216 ha.loc[0,'a'] 1288\n",
      "list(a)[0]: 1288 time: 0.18448686599731445 lenp(ha): 0.5753313497430349 rate: 0.02796869261624607 i: 217 ha.loc[0,'a'] 1718\n",
      "list(a)[0]: 1718 time: 0.12633490562438965 lenp(ha): 0.575060860156884 rate: 0.027925766587333006 i: 218 ha.loc[0,'a'] 2531\n",
      "list(a)[0]: 2531 time: 0.08071470260620117 lenp(ha): 0.574790370570733 rate: 0.02788284055841994 i: 219 ha.loc[0,'a'] 7043\n",
      "list(a)[0]: 7043 time: 0.14338254928588867 lenp(ha): 0.5745198809845821 rate: 0.027839914529506876 i: 220 ha.loc[0,'a'] 6372\n",
      "list(a)[0]: 6372 time: 0.17850756645202637 lenp(ha): 0.5742493913984311 rate: 0.02779698850059381 i: 221 ha.loc[0,'a'] 1487\n",
      "list(a)[0]: 1487 time: 0.08876347541809082 lenp(ha): 0.5739789018122802 rate: 0.027754062471680746 i: 222 ha.loc[0,'a'] 6534\n",
      "list(a)[0]: 6534 time: 0.15241646766662598 lenp(ha): 0.5737084122261293 rate: 0.027715906001535798 i: 223 ha.loc[0,'a'] 3757\n",
      "list(a)[0]: 3757 time: 0.13034582138061523 lenp(ha): 0.5734379226399784 rate: 0.027672979972622733 i: 224 ha.loc[0,'a'] 7465\n",
      "list(a)[0]: 7465 time: 0.13689970970153809 lenp(ha): 0.5731674330538274 rate: 0.027630053943709668 i: 225 ha.loc[0,'a'] 656\n",
      "list(a)[0]: 656 time: 0.22657227516174316 lenp(ha): 0.5726264538815256 rate: 0.027577588797260365 i: 226 ha.loc[0,'a'] 6404\n",
      "list(a)[0]: 6404 time: 0.12035369873046875 lenp(ha): 0.5723559642953746 rate: 0.0275346627683473 i: 227 ha.loc[0,'a'] 4569\n",
      "list(a)[0]: 4569 time: 0.15040040016174316 lenp(ha): 0.5720854747092237 rate: 0.027491736739434235 i: 228 ha.loc[0,'a'] 3479\n",
      "list(a)[0]: 3479 time: 0.1454179286956787 lenp(ha): 0.5718149851230727 rate: 0.02744881071052117 i: 229 ha.loc[0,'a'] 5958\n",
      "list(a)[0]: 5958 time: 0.12804627418518066 lenp(ha): 0.5715444955369219 rate: 0.027405884681608105 i: 230 ha.loc[0,'a'] 7061\n",
      "list(a)[0]: 7061 time: 0.07018661499023438 lenp(ha): 0.5712740059507709 rate: 0.02736295865269504 i: 231 ha.loc[0,'a'] 7982\n",
      "list(a)[0]: 7982 time: 0.18398475646972656 lenp(ha): 0.570733026778469 rate: 0.027305723947477618 i: 232 ha.loc[0,'a'] 1807\n",
      "list(a)[0]: 1807 time: 0.12937593460083008 lenp(ha): 0.5704625371923181 rate: 0.027262797918564553 i: 233 ha.loc[0,'a'] 3505\n",
      "list(a)[0]: 3505 time: 0.2321169376373291 lenp(ha): 0.5699215580200162 rate: 0.027200793654579013 i: 234 ha.loc[0,'a'] 1631\n",
      "list(a)[0]: 1631 time: 0.1042780876159668 lenp(ha): 0.5696510684338653 rate: 0.02715786762566595 i: 235 ha.loc[0,'a'] 20\n",
      "list(a)[0]: 20 time: 0.11630821228027344 lenp(ha): 0.5693805788477143 rate: 0.027114941596752883 i: 236 ha.loc[0,'a'] 8570\n",
      "list(a)[0]: 8570 time: 0.16092658042907715 lenp(ha): 0.5691100892615635 rate: 0.027072015567839818 i: 237 ha.loc[0,'a'] 7757\n",
      "list(a)[0]: 7757 time: 0.12483096122741699 lenp(ha): 0.5688395996754125 rate: 0.027029089538926753 i: 238 ha.loc[0,'a'] 6879\n",
      "list(a)[0]: 6879 time: 0.10781979560852051 lenp(ha): 0.5685691100892616 rate: 0.026986163510013688 i: 239 ha.loc[0,'a'] 2585\n",
      "list(a)[0]: 2585 time: 0.16844773292541504 lenp(ha): 0.5682986205031106 rate: 0.026943237481100623 i: 240 ha.loc[0,'a'] 6826\n",
      "list(a)[0]: 6826 time: 0.11229896545410156 lenp(ha): 0.5680281309169597 rate: 0.026900311452187558 i: 241 ha.loc[0,'a'] 2407\n",
      "list(a)[0]: 2407 time: 0.10277581214904785 lenp(ha): 0.5677576413308087 rate: 0.026857385423274493 i: 242 ha.loc[0,'a'] 1310\n",
      "list(a)[0]: 1310 time: 0.14989900588989258 lenp(ha): 0.5674871517446578 rate: 0.026814459394361428 i: 243 ha.loc[0,'a'] 7573\n",
      "list(a)[0]: 7573 time: 0.1183161735534668 lenp(ha): 0.5672166621585069 rate: 0.026771533365448363 i: 244 ha.loc[0,'a'] 2592\n",
      "list(a)[0]: 2592 time: 0.1363992691040039 lenp(ha): 0.5669461725723559 rate: 0.026728607336535298 i: 245 ha.loc[0,'a'] 6604\n",
      "list(a)[0]: 6604 time: 0.1524050235748291 lenp(ha): 0.5666756829862051 rate: 0.026685681307622233 i: 246 ha.loc[0,'a'] 8265\n",
      "list(a)[0]: 8265 time: 0.1283426284790039 lenp(ha): 0.5664051934000541 rate: 0.026642755278709167 i: 247 ha.loc[0,'a'] 5169\n",
      "list(a)[0]: 5169 time: 0.11981868743896484 lenp(ha): 0.5661347038139032 rate: 0.026599829249796102 i: 248 ha.loc[0,'a'] 4467\n",
      "list(a)[0]: 4467 time: 0.08809328079223633 lenp(ha): 0.5658642142277522 rate: 0.026556903220883037 i: 249 ha.loc[0,'a'] 3811\n",
      "list(a)[0]: 3811 time: 0.12282633781433105 lenp(ha): 0.5655937246416013 rate: 0.02651874675073809 i: 250 ha.loc[0,'a'] 3376\n",
      "list(a)[0]: 3376 time: 0.10327506065368652 lenp(ha): 0.5653232350554503 rate: 0.02648059028059314 i: 251 ha.loc[0,'a'] 7843\n",
      "list(a)[0]: 7843 time: 0.1318516731262207 lenp(ha): 0.5650527454692994 rate: 0.026442433810448196 i: 252 ha.loc[0,'a'] 3165\n",
      "list(a)[0]: 3165 time: 0.09224605560302734 lenp(ha): 0.5647822558831485 rate: 0.026404277340303248 i: 253 ha.loc[0,'a'] 2556\n",
      "list(a)[0]: 2556 time: 0.12382984161376953 lenp(ha): 0.5645117662969976 rate: 0.02637089042892642 i: 254 ha.loc[0,'a'] 3109\n",
      "list(a)[0]: 3109 time: 0.09775853157043457 lenp(ha): 0.5642412767108467 rate: 0.02633273395878147 i: 255 ha.loc[0,'a'] 1476\n",
      "list(a)[0]: 1476 time: 0.08823537826538086 lenp(ha): 0.5639707871246957 rate: 0.026294577488636527 i: 256 ha.loc[0,'a'] 5986\n",
      "list(a)[0]: 5986 time: 0.13288521766662598 lenp(ha): 0.5637002975385448 rate: 0.02625642101849158 i: 257 ha.loc[0,'a'] 8393\n",
      "list(a)[0]: 8393 time: 0.08322286605834961 lenp(ha): 0.5634298079523938 rate: 0.026218264548346634 i: 258 ha.loc[0,'a'] 8321\n",
      "list(a)[0]: 8321 time: 0.11680960655212402 lenp(ha): 0.5631593183662429 rate: 0.026180108078201685 i: 259 ha.loc[0,'a'] 6426\n",
      "list(a)[0]: 6426 time: 0.10177087783813477 lenp(ha): 0.5628888287800919 rate: 0.026141951608056737 i: 260 ha.loc[0,'a'] 4629\n",
      "list(a)[0]: 4629 time: 0.09124231338500977 lenp(ha): 0.562618339193941 rate: 0.026103795137911792 i: 261 ha.loc[0,'a'] 4901\n",
      "list(a)[0]: 4901 time: 0.09475255012512207 lenp(ha): 0.56234784960779 rate: 0.026065638667766844 i: 262 ha.loc[0,'a'] 5818\n",
      "list(a)[0]: 5818 time: 0.12583470344543457 lenp(ha): 0.5620773600216392 rate: 0.0260274821976219 i: 263 ha.loc[0,'a'] 8546\n",
      "list(a)[0]: 8546 time: 0.1263291835784912 lenp(ha): 0.5618068704354883 rate: 0.02598932572747695 i: 264 ha.loc[0,'a'] 3158\n",
      "list(a)[0]: 3158 time: 0.1112968921661377 lenp(ha): 0.5615363808493373 rate: 0.025951169257332003 i: 265 ha.loc[0,'a'] 1627\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1627 time: 0.16092920303344727 lenp(ha): 0.5612658912631864 rate: 0.025913012787187058 i: 266 ha.loc[0,'a'] 8716\n",
      "list(a)[0]: 8716 time: 0.16243219375610352 lenp(ha): 0.5609954016770354 rate: 0.02587485631704211 i: 267 ha.loc[0,'a'] 5559\n",
      "list(a)[0]: 5559 time: 0.20203900337219238 lenp(ha): 0.5604544225047335 rate: 0.02581762161182469 i: 268 ha.loc[0,'a'] 1767\n",
      "list(a)[0]: 1767 time: 0.10831737518310547 lenp(ha): 0.5601839329185826 rate: 0.025779465141679742 i: 269 ha.loc[0,'a'] 2166\n",
      "list(a)[0]: 2166 time: 0.11380147933959961 lenp(ha): 0.5599134433324316 rate: 0.025746078230302914 i: 270 ha.loc[0,'a'] 4137\n",
      "list(a)[0]: 4137 time: 0.09625768661499023 lenp(ha): 0.5596429537462808 rate: 0.02570792176015797 i: 271 ha.loc[0,'a'] 8146\n",
      "list(a)[0]: 8146 time: 0.10227417945861816 lenp(ha): 0.5593724641601299 rate: 0.02566976529001302 i: 272 ha.loc[0,'a'] 7232\n",
      "list(a)[0]: 7232 time: 0.11881804466247559 lenp(ha): 0.5591019745739789 rate: 0.025631608819868073 i: 273 ha.loc[0,'a'] 7052\n",
      "list(a)[0]: 7052 time: 0.12232732772827148 lenp(ha): 0.558831484987828 rate: 0.025593452349723128 i: 274 ha.loc[0,'a'] 447\n",
      "list(a)[0]: 447 time: 0.13335442543029785 lenp(ha): 0.558560995401677 rate: 0.02555529587957818 i: 275 ha.loc[0,'a'] 7539\n",
      "list(a)[0]: 7539 time: 0.12984633445739746 lenp(ha): 0.5582905058155261 rate: 0.025517139409433235 i: 276 ha.loc[0,'a'] 5875\n",
      "list(a)[0]: 5875 time: 0.1108245849609375 lenp(ha): 0.5580200162293751 rate: 0.025478982939288287 i: 277 ha.loc[0,'a'] 1708\n",
      "list(a)[0]: 1708 time: 0.14739203453063965 lenp(ha): 0.5577495266432242 rate: 0.02544082646914334 i: 278 ha.loc[0,'a'] 497\n",
      "list(a)[0]: 497 time: 0.09174394607543945 lenp(ha): 0.5574790370570734 rate: 0.025402669998998394 i: 279 ha.loc[0,'a'] 4403\n",
      "list(a)[0]: 4403 time: 0.1388716697692871 lenp(ha): 0.5572085474709224 rate: 0.025364513528853445 i: 280 ha.loc[0,'a'] 3205\n",
      "list(a)[0]: 3205 time: 0.06618070602416992 lenp(ha): 0.5569380578847715 rate: 0.0253263570587085 i: 281 ha.loc[0,'a'] 5376\n",
      "list(a)[0]: 5376 time: 0.19903016090393066 lenp(ha): 0.5563970787124696 rate: 0.0252738919122592 i: 282 ha.loc[0,'a'] 3809\n",
      "list(a)[0]: 3809 time: 0.11430191993713379 lenp(ha): 0.5561265891263186 rate: 0.02523573544211425 i: 283 ha.loc[0,'a'] 4489\n",
      "list(a)[0]: 4489 time: 0.17847442626953125 lenp(ha): 0.5558560995401677 rate: 0.025197578971969302 i: 284 ha.loc[0,'a'] 4240\n",
      "list(a)[0]: 4240 time: 0.11029386520385742 lenp(ha): 0.5555856099540167 rate: 0.025159422501824357 i: 285 ha.loc[0,'a'] 1266\n",
      "list(a)[0]: 1266 time: 0.2155754566192627 lenp(ha): 0.554774141195564 rate: 0.025097418237838818 i: 286 ha.loc[0,'a'] 5363\n",
      "list(a)[0]: 5363 time: 0.13034868240356445 lenp(ha): 0.5545036516094131 rate: 0.02505926176769387 i: 287 ha.loc[0,'a'] 2107\n",
      "list(a)[0]: 2107 time: 0.2531733512878418 lenp(ha): 0.5539626724371112 rate: 0.024992487944940214 i: 288 ha.loc[0,'a'] 3214\n",
      "list(a)[0]: 3214 time: 0.1383683681488037 lenp(ha): 0.5536921828509602 rate: 0.024954331474795265 i: 289 ha.loc[0,'a'] 4447\n",
      "list(a)[0]: 4447 time: 0.09826087951660156 lenp(ha): 0.5534216932648093 rate: 0.02491617500465032 i: 290 ha.loc[0,'a'] 5018\n",
      "list(a)[0]: 5018 time: 0.12332749366760254 lenp(ha): 0.5531512036786583 rate: 0.024878018534505372 i: 291 ha.loc[0,'a'] 7816\n",
      "list(a)[0]: 7816 time: 0.09224128723144531 lenp(ha): 0.5528807140925074 rate: 0.024839862064360427 i: 292 ha.loc[0,'a'] 1959\n",
      "list(a)[0]: 1959 time: 0.13636231422424316 lenp(ha): 0.5526102245063566 rate: 0.02480170559421548 i: 293 ha.loc[0,'a'] 6749\n",
      "list(a)[0]: 6749 time: 0.15290427207946777 lenp(ha): 0.5523397349202056 rate: 0.02476354912407053 i: 294 ha.loc[0,'a'] 6792\n",
      "list(a)[0]: 6792 time: 0.16142892837524414 lenp(ha): 0.5520692453340547 rate: 0.024725392653925586 i: 295 ha.loc[0,'a'] 7274\n",
      "list(a)[0]: 7274 time: 0.11881732940673828 lenp(ha): 0.5517987557479037 rate: 0.024687236183780638 i: 296 ha.loc[0,'a'] 6946\n",
      "list(a)[0]: 6946 time: 0.09625816345214844 lenp(ha): 0.5515282661617528 rate: 0.024649079713635693 i: 297 ha.loc[0,'a'] 1732\n",
      "list(a)[0]: 1732 time: 0.0972592830657959 lenp(ha): 0.5512577765756018 rate: 0.024610923243490745 i: 298 ha.loc[0,'a'] 8405\n",
      "list(a)[0]: 8405 time: 0.1143040657043457 lenp(ha): 0.5509872869894509 rate: 0.024572766773345796 i: 299 ha.loc[0,'a'] 1188\n",
      "list(a)[0]: 1188 time: 0.06216573715209961 lenp(ha): 0.5507167974032999 rate: 0.02453461030320085 i: 300 ha.loc[0,'a'] 7023\n",
      "list(a)[0]: 7023 time: 0.05966019630432129 lenp(ha): 0.5504463078171491 rate: 0.024496453833055903 i: 301 ha.loc[0,'a'] 3480\n",
      "list(a)[0]: 3480 time: 0.17947816848754883 lenp(ha): 0.5501758182309981 rate: 0.02445829736291096 i: 302 ha.loc[0,'a'] 5789\n",
      "list(a)[0]: 5789 time: 0.10126996040344238 lenp(ha): 0.5499053286448472 rate: 0.02442014089276601 i: 303 ha.loc[0,'a'] 1576\n",
      "list(a)[0]: 1576 time: 0.10377359390258789 lenp(ha): 0.5496348390586963 rate: 0.024381984422621062 i: 304 ha.loc[0,'a'] 2148\n",
      "list(a)[0]: 2148 time: 0.10628128051757812 lenp(ha): 0.5493643494725453 rate: 0.024343827952476117 i: 305 ha.loc[0,'a'] 3646\n",
      "list(a)[0]: 3646 time: 0.12282681465148926 lenp(ha): 0.5490938598863944 rate: 0.02430567148233117 i: 306 ha.loc[0,'a'] 2164\n",
      "list(a)[0]: 2164 time: 0.1941218376159668 lenp(ha): 0.5485528807140925 rate: 0.024238897659577513 i: 307 ha.loc[0,'a'] 1656\n",
      "list(a)[0]: 1656 time: 0.11530828475952148 lenp(ha): 0.5482823911279415 rate: 0.024200741189432565 i: 308 ha.loc[0,'a'] 8217\n",
      "list(a)[0]: 8217 time: 0.1183159351348877 lenp(ha): 0.5480119015417907 rate: 0.02416258471928762 i: 309 ha.loc[0,'a'] 1896\n",
      "list(a)[0]: 1896 time: 0.18302154541015625 lenp(ha): 0.5474709223694888 rate: 0.024110119572838318 i: 310 ha.loc[0,'a'] 1015\n",
      "list(a)[0]: 1015 time: 0.11179590225219727 lenp(ha): 0.5472004327833379 rate: 0.02407196310269337 i: 311 ha.loc[0,'a'] 2167\n",
      "list(a)[0]: 2167 time: 0.10678291320800781 lenp(ha): 0.5469299431971869 rate: 0.024033806632548425 i: 312 ha.loc[0,'a'] 4714\n",
      "list(a)[0]: 4714 time: 0.05715203285217285 lenp(ha): 0.546659453611036 rate: 0.023995650162403476 i: 313 ha.loc[0,'a'] 8661\n",
      "list(a)[0]: 8661 time: 0.06868171691894531 lenp(ha): 0.546388964024885 rate: 0.02396226325102665 i: 314 ha.loc[0,'a'] 17\n",
      "list(a)[0]: 17 time: 0.19602227210998535 lenp(ha): 0.5458479848525831 rate: 0.02390025898704111 i: 315 ha.loc[0,'a'] 6892\n",
      "list(a)[0]: 6892 time: 0.06467223167419434 lenp(ha): 0.5455774952664323 rate: 0.02386687207566428 i: 316 ha.loc[0,'a'] 6277\n",
      "list(a)[0]: 6277 time: 0.10478019714355469 lenp(ha): 0.5453070056802813 rate: 0.023833485164287453 i: 317 ha.loc[0,'a'] 5769\n",
      "list(a)[0]: 5769 time: 0.10327672958374023 lenp(ha): 0.5450365160941304 rate: 0.02380009825291062 i: 318 ha.loc[0,'a'] 1570\n",
      "list(a)[0]: 1570 time: 0.09424805641174316 lenp(ha): 0.5447660265079795 rate: 0.023766711341533794 i: 319 ha.loc[0,'a'] 2322\n",
      "list(a)[0]: 2322 time: 0.09074163436889648 lenp(ha): 0.5444955369218285 rate: 0.023733324430156966 i: 320 ha.loc[0,'a'] 4972\n",
      "list(a)[0]: 4972 time: 0.1002662181854248 lenp(ha): 0.5442250473356776 rate: 0.023699937518780138 i: 321 ha.loc[0,'a'] 6386\n",
      "list(a)[0]: 6386 time: 0.12741470336914062 lenp(ha): 0.5439545577495266 rate: 0.02366655060740331 i: 322 ha.loc[0,'a'] 4171\n",
      "list(a)[0]: 4171 time: 0.08422422409057617 lenp(ha): 0.5436840681633757 rate: 0.02363316369602648 i: 323 ha.loc[0,'a'] 8856\n",
      "list(a)[0]: 8856 time: 0.17897796630859375 lenp(ha): 0.5431430889910739 rate: 0.02358069854957718 i: 324 ha.loc[0,'a'] 2673\n",
      "list(a)[0]: 2673 time: 0.11777877807617188 lenp(ha): 0.5428725994049229 rate: 0.02354731163820035 i: 325 ha.loc[0,'a'] 1852\n",
      "list(a)[0]: 1852 time: 0.04912924766540527 lenp(ha): 0.542602109818772 rate: 0.02351392472682352 i: 326 ha.loc[0,'a'] 6777\n",
      "list(a)[0]: 6777 time: 0.10578131675720215 lenp(ha): 0.542331620232621 rate: 0.023480537815446692 i: 327 ha.loc[0,'a'] 2093\n",
      "list(a)[0]: 2093 time: 0.16042685508728027 lenp(ha): 0.5420611306464701 rate: 0.023447150904069864 i: 328 ha.loc[0,'a'] 4674\n",
      "list(a)[0]: 4674 time: 0.08773350715637207 lenp(ha): 0.5417906410603192 rate: 0.023413763992693036 i: 329 ha.loc[0,'a'] 7927\n",
      "list(a)[0]: 7927 time: 0.09024381637573242 lenp(ha): 0.5415201514741682 rate: 0.023380377081316208 i: 330 ha.loc[0,'a'] 5566\n",
      "list(a)[0]: 5566 time: 0.06868290901184082 lenp(ha): 0.5412496618880173 rate: 0.02334699016993938 i: 331 ha.loc[0,'a'] 1083\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1083 time: 0.1107950210571289 lenp(ha): 0.5409791723018664 rate: 0.023313603258562552 i: 332 ha.loc[0,'a'] 255\n",
      "list(a)[0]: 255 time: 0.10681295394897461 lenp(ha): 0.5407086827157155 rate: 0.02328021634718572 i: 333 ha.loc[0,'a'] 5701\n",
      "list(a)[0]: 5701 time: 0.11527466773986816 lenp(ha): 0.5404381931295645 rate: 0.023246829435808893 i: 334 ha.loc[0,'a'] 3594\n",
      "list(a)[0]: 3594 time: 0.07720494270324707 lenp(ha): 0.5401677035434136 rate: 0.023213442524432065 i: 335 ha.loc[0,'a'] 2815\n",
      "list(a)[0]: 2815 time: 0.09074068069458008 lenp(ha): 0.5398972139572626 rate: 0.023180055613055237 i: 336 ha.loc[0,'a'] 4100\n",
      "list(a)[0]: 4100 time: 0.10775375366210938 lenp(ha): 0.5396267243711117 rate: 0.02314666870167841 i: 337 ha.loc[0,'a'] 7678\n",
      "list(a)[0]: 7678 time: 0.10177040100097656 lenp(ha): 0.5393562347849608 rate: 0.02311328179030158 i: 338 ha.loc[0,'a'] 8396\n",
      "list(a)[0]: 8396 time: 0.1348586082458496 lenp(ha): 0.5388152556126589 rate: 0.023075125320156632 i: 339 ha.loc[0,'a'] 4645\n",
      "list(a)[0]: 4645 time: 0.09427976608276367 lenp(ha): 0.538544766026508 rate: 0.023041738408779804 i: 340 ha.loc[0,'a'] 4937\n",
      "list(a)[0]: 4937 time: 0.20705199241638184 lenp(ha): 0.5380037868542061 rate: 0.02299404282109862 i: 341 ha.loc[0,'a'] 3322\n",
      "list(a)[0]: 3322 time: 0.07469797134399414 lenp(ha): 0.5377332972680552 rate: 0.02296065590972179 i: 342 ha.loc[0,'a'] 6740\n",
      "list(a)[0]: 6740 time: 0.09876394271850586 lenp(ha): 0.5374628076819042 rate: 0.022927268998344963 i: 343 ha.loc[0,'a'] 355\n",
      "list(a)[0]: 355 time: 0.11681056022644043 lenp(ha): 0.5371923180957533 rate: 0.022893882086968135 i: 344 ha.loc[0,'a'] 1390\n",
      "list(a)[0]: 1390 time: 0.04862809181213379 lenp(ha): 0.5369218285096024 rate: 0.022860495175591307 i: 345 ha.loc[0,'a'] 8421\n",
      "list(a)[0]: 8421 time: 0.23011279106140137 lenp(ha): 0.5363808493373006 rate: 0.022798490911605768 i: 346 ha.loc[0,'a'] 7448\n",
      "list(a)[0]: 7448 time: 0.1043095588684082 lenp(ha): 0.5361103597511496 rate: 0.02276510400022894 i: 347 ha.loc[0,'a'] 3616\n",
      "list(a)[0]: 3616 time: 0.1414051055908203 lenp(ha): 0.5358398701649987 rate: 0.02273171708885211 i: 348 ha.loc[0,'a'] 1655\n",
      "list(a)[0]: 1655 time: 0.12235474586486816 lenp(ha): 0.5355693805788477 rate: 0.02269833017747528 i: 349 ha.loc[0,'a'] 1481\n",
      "list(a)[0]: 1481 time: 0.07670426368713379 lenp(ha): 0.5352988909926968 rate: 0.022664943266098452 i: 350 ha.loc[0,'a'] 3874\n",
      "list(a)[0]: 3874 time: 0.10327410697937012 lenp(ha): 0.5350284014065458 rate: 0.022631556354721624 i: 351 ha.loc[0,'a'] 6380\n",
      "list(a)[0]: 6380 time: 0.10629534721374512 lenp(ha): 0.5347579118203949 rate: 0.022598169443344796 i: 352 ha.loc[0,'a'] 6553\n",
      "list(a)[0]: 6553 time: 0.06667733192443848 lenp(ha): 0.534487422234244 rate: 0.022564782531967968 i: 353 ha.loc[0,'a'] 1654\n",
      "list(a)[0]: 1654 time: 0.09124398231506348 lenp(ha): 0.534216932648093 rate: 0.02253139562059114 i: 354 ha.loc[0,'a'] 1215\n",
      "list(a)[0]: 1215 time: 0.13636255264282227 lenp(ha): 0.5339464430619422 rate: 0.022498008709214312 i: 355 ha.loc[0,'a'] 1155\n",
      "list(a)[0]: 1155 time: 0.11731314659118652 lenp(ha): 0.5336759534757912 rate: 0.02246462179783748 i: 356 ha.loc[0,'a'] 1240\n",
      "list(a)[0]: 1240 time: 0.11079525947570801 lenp(ha): 0.5334054638896403 rate: 0.022431234886460653 i: 357 ha.loc[0,'a'] 7204\n",
      "list(a)[0]: 7204 time: 0.13285350799560547 lenp(ha): 0.5331349743034893 rate: 0.022397847975083825 i: 358 ha.loc[0,'a'] 5172\n",
      "list(a)[0]: 5172 time: 0.12333440780639648 lenp(ha): 0.5328644847173384 rate: 0.022364461063706997 i: 359 ha.loc[0,'a'] 6987\n",
      "list(a)[0]: 6987 time: 0.11179947853088379 lenp(ha): 0.5325939951311874 rate: 0.02233107415233017 i: 360 ha.loc[0,'a'] 3116\n",
      "list(a)[0]: 3116 time: 0.2601909637451172 lenp(ha): 0.5320530159588855 rate: 0.022278609005880867 i: 361 ha.loc[0,'a'] 5788\n",
      "list(a)[0]: 5788 time: 0.12082099914550781 lenp(ha): 0.5317825263727346 rate: 0.02224522209450404 i: 362 ha.loc[0,'a'] 6340\n",
      "list(a)[0]: 6340 time: 0.08074569702148438 lenp(ha): 0.5315120367865838 rate: 0.02221183518312721 i: 363 ha.loc[0,'a'] 7979\n",
      "list(a)[0]: 7979 time: 0.12884521484375 lenp(ha): 0.5312415472004328 rate: 0.02217844827175038 i: 364 ha.loc[0,'a'] 8545\n",
      "list(a)[0]: 8545 time: 0.0907280445098877 lenp(ha): 0.5309710576142819 rate: 0.02214506136037355 i: 365 ha.loc[0,'a'] 496\n",
      "list(a)[0]: 496 time: 0.08272004127502441 lenp(ha): 0.5307005680281309 rate: 0.022111674448996723 i: 366 ha.loc[0,'a'] 8517\n",
      "list(a)[0]: 8517 time: 0.13586091995239258 lenp(ha): 0.53043007844198 rate: 0.022078287537619895 i: 367 ha.loc[0,'a'] 5394\n",
      "list(a)[0]: 5394 time: 0.17728829383850098 lenp(ha): 0.5298890992696781 rate: 0.02203059194993871 i: 368 ha.loc[0,'a'] 648\n",
      "list(a)[0]: 648 time: 0.0726935863494873 lenp(ha): 0.5296186096835271 rate: 0.02199720503856188 i: 369 ha.loc[0,'a'] 2309\n",
      "list(a)[0]: 2309 time: 0.08171725273132324 lenp(ha): 0.5293481200973762 rate: 0.021963818127185054 i: 370 ha.loc[0,'a'] 7099\n",
      "list(a)[0]: 7099 time: 0.08973860740661621 lenp(ha): 0.5290776305112254 rate: 0.021930431215808226 i: 371 ha.loc[0,'a'] 8375\n",
      "list(a)[0]: 8375 time: 0.1042776107788086 lenp(ha): 0.5288071409250744 rate: 0.021897044304431398 i: 372 ha.loc[0,'a'] 6729\n",
      "list(a)[0]: 6729 time: 0.15897202491760254 lenp(ha): 0.5282661617527725 rate: 0.02185888783428645 i: 373 ha.loc[0,'a'] 8098\n",
      "list(a)[0]: 8098 time: 0.10878801345825195 lenp(ha): 0.5279956721666216 rate: 0.02182550092290962 i: 374 ha.loc[0,'a'] 3052\n",
      "list(a)[0]: 3052 time: 0.1524035930633545 lenp(ha): 0.5274546929943197 rate: 0.021782574893996556 i: 375 ha.loc[0,'a'] 6530\n",
      "list(a)[0]: 6530 time: 0.10678386688232422 lenp(ha): 0.5271842034081687 rate: 0.02174918798261973 i: 376 ha.loc[0,'a'] 1968\n",
      "list(a)[0]: 1968 time: 0.09876298904418945 lenp(ha): 0.5269137138220179 rate: 0.0217158010712429 i: 377 ha.loc[0,'a'] 5195\n",
      "list(a)[0]: 5195 time: 0.10979151725769043 lenp(ha): 0.526643224235867 rate: 0.021682414159866072 i: 378 ha.loc[0,'a'] 5867\n",
      "list(a)[0]: 5867 time: 0.10878920555114746 lenp(ha): 0.526372734649716 rate: 0.02165379680725736 i: 379 ha.loc[0,'a'] 343\n",
      "list(a)[0]: 343 time: 0.11831545829772949 lenp(ha): 0.5261022450635651 rate: 0.021620409895880533 i: 380 ha.loc[0,'a'] 211\n",
      "list(a)[0]: 211 time: 0.11630964279174805 lenp(ha): 0.5258317554774141 rate: 0.021587022984503705 i: 381 ha.loc[0,'a'] 8502\n",
      "list(a)[0]: 8502 time: 0.09074044227600098 lenp(ha): 0.5255612658912632 rate: 0.021553636073126874 i: 382 ha.loc[0,'a'] 7147\n",
      "list(a)[0]: 7147 time: 0.09976458549499512 lenp(ha): 0.5252907763051122 rate: 0.021520249161750046 i: 383 ha.loc[0,'a'] 87\n",
      "list(a)[0]: 87 time: 0.10678386688232422 lenp(ha): 0.5250202867189613 rate: 0.021486862250373218 i: 384 ha.loc[0,'a'] 4677\n",
      "list(a)[0]: 4677 time: 0.11229848861694336 lenp(ha): 0.5247497971328103 rate: 0.02145347533899639 i: 385 ha.loc[0,'a'] 8731\n",
      "list(a)[0]: 8731 time: 0.2185821533203125 lenp(ha): 0.5242088179605086 rate: 0.02139624063377897 i: 386 ha.loc[0,'a'] 6265\n",
      "list(a)[0]: 6265 time: 0.12784123420715332 lenp(ha): 0.5239383283743576 rate: 0.02136762328117026 i: 387 ha.loc[0,'a'] 8558\n",
      "list(a)[0]: 8558 time: 0.07369589805603027 lenp(ha): 0.5236678387882067 rate: 0.021339005928561548 i: 388 ha.loc[0,'a'] 372\n",
      "list(a)[0]: 372 time: 0.06617522239685059 lenp(ha): 0.5233973492020557 rate: 0.021310388575952837 i: 389 ha.loc[0,'a'] 7579\n",
      "list(a)[0]: 7579 time: 0.10130071640014648 lenp(ha): 0.5231268596159048 rate: 0.02128177122334413 i: 390 ha.loc[0,'a'] 6597\n",
      "list(a)[0]: 6597 time: 0.08372259140014648 lenp(ha): 0.5228563700297538 rate: 0.021253153870735418 i: 391 ha.loc[0,'a'] 1620\n",
      "list(a)[0]: 1620 time: 0.057654619216918945 lenp(ha): 0.5225858804436029 rate: 0.021224536518126707 i: 392 ha.loc[0,'a'] 8724\n",
      "list(a)[0]: 8724 time: 0.11179447174072266 lenp(ha): 0.5223153908574519 rate: 0.021195919165518 i: 393 ha.loc[0,'a'] 5977\n",
      "list(a)[0]: 5977 time: 0.11681079864501953 lenp(ha): 0.5220449012713011 rate: 0.021167301812909288 i: 394 ha.loc[0,'a'] 8753\n",
      "list(a)[0]: 8753 time: 0.07823967933654785 lenp(ha): 0.5217744116851502 rate: 0.021138684460300577 i: 395 ha.loc[0,'a'] 4026\n",
      "list(a)[0]: 4026 time: 0.23715591430664062 lenp(ha): 0.5212334325128483 rate: 0.021081449755083158 i: 396 ha.loc[0,'a'] 729\n",
      "list(a)[0]: 729 time: 0.07069039344787598 lenp(ha): 0.5209629429266973 rate: 0.021052832402474447 i: 397 ha.loc[0,'a'] 8027\n",
      "list(a)[0]: 8027 time: 0.07770824432373047 lenp(ha): 0.5206924533405464 rate: 0.021024215049865735 i: 398 ha.loc[0,'a'] 8180\n",
      "list(a)[0]: 8180 time: 0.23917055130004883 lenp(ha): 0.5198809845820936 rate: 0.020966980344648316 i: 399 ha.loc[0,'a'] 547\n",
      "list(a)[0]: 547 time: 0.12135720252990723 lenp(ha): 0.5196104949959427 rate: 0.020938362992039605 i: 400 ha.loc[0,'a'] 3337\n",
      "list(a)[0]: 3337 time: 0.10230112075805664 lenp(ha): 0.5193400054097917 rate: 0.020909745639430898 i: 401 ha.loc[0,'a'] 2726\n",
      "list(a)[0]: 2726 time: 0.06721091270446777 lenp(ha): 0.5190695158236408 rate: 0.020881128286822186 i: 402 ha.loc[0,'a'] 7748\n",
      "list(a)[0]: 7748 time: 0.07372498512268066 lenp(ha): 0.5187990262374899 rate: 0.020852510934213475 i: 403 ha.loc[0,'a'] 1597\n",
      "list(a)[0]: 1597 time: 0.07419753074645996 lenp(ha): 0.5185285366513389 rate: 0.020823893581604767 i: 404 ha.loc[0,'a'] 1693\n",
      "list(a)[0]: 1693 time: 0.059157609939575195 lenp(ha): 0.518258047065188 rate: 0.020795276228996056 i: 405 ha.loc[0,'a'] 4784\n",
      "list(a)[0]: 4784 time: 0.11129522323608398 lenp(ha): 0.517987557479037 rate: 0.020766658876387345 i: 406 ha.loc[0,'a'] 664\n",
      "list(a)[0]: 664 time: 0.0977623462677002 lenp(ha): 0.5177170678928861 rate: 0.020738041523778634 i: 407 ha.loc[0,'a'] 6175\n",
      "list(a)[0]: 6175 time: 0.07168984413146973 lenp(ha): 0.5174465783067352 rate: 0.020709424171169926 i: 408 ha.loc[0,'a'] 5543\n",
      "list(a)[0]: 5543 time: 0.08272194862365723 lenp(ha): 0.5171760887205843 rate: 0.020680806818561215 i: 409 ha.loc[0,'a'] 3104\n",
      "list(a)[0]: 3104 time: 0.06818103790283203 lenp(ha): 0.5169055991344333 rate: 0.020652189465952504 i: 410 ha.loc[0,'a'] 883\n",
      "list(a)[0]: 883 time: 0.1107945442199707 lenp(ha): 0.5166351095482824 rate: 0.020623572113343796 i: 411 ha.loc[0,'a'] 7016\n",
      "list(a)[0]: 7016 time: 0.06316542625427246 lenp(ha): 0.5163646199621315 rate: 0.020594954760735085 i: 412 ha.loc[0,'a'] 4190\n",
      "list(a)[0]: 4190 time: 0.13389110565185547 lenp(ha): 0.5158236407898296 rate: 0.020556798290590136 i: 413 ha.loc[0,'a'] 7684\n",
      "list(a)[0]: 7684 time: 0.10628247261047363 lenp(ha): 0.5155531512036786 rate: 0.02052818093798143 i: 414 ha.loc[0,'a'] 5677\n",
      "list(a)[0]: 5677 time: 0.13636255264282227 lenp(ha): 0.5152826616175277 rate: 0.020499563585372717 i: 415 ha.loc[0,'a'] 4967\n",
      "list(a)[0]: 4967 time: 0.06316852569580078 lenp(ha): 0.5150121720313768 rate: 0.020470946232764006 i: 416 ha.loc[0,'a'] 1541\n",
      "list(a)[0]: 1541 time: 0.08074641227722168 lenp(ha): 0.5147416824452259 rate: 0.0204423288801553 i: 417 ha.loc[0,'a'] 8263\n",
      "list(a)[0]: 8263 time: 0.08973836898803711 lenp(ha): 0.5144711928590749 rate: 0.020413711527546587 i: 418 ha.loc[0,'a'] 4258\n",
      "list(a)[0]: 4258 time: 0.09926366806030273 lenp(ha): 0.514200703272924 rate: 0.020385094174937876 i: 419 ha.loc[0,'a'] 6663\n",
      "list(a)[0]: 6663 time: 0.08475661277770996 lenp(ha): 0.513930213686773 rate: 0.020356476822329165 i: 420 ha.loc[0,'a'] 4113\n",
      "list(a)[0]: 4113 time: 0.10678315162658691 lenp(ha): 0.5136597241006221 rate: 0.020327859469720457 i: 421 ha.loc[0,'a'] 4117\n",
      "list(a)[0]: 4117 time: 0.11229968070983887 lenp(ha): 0.5133892345144712 rate: 0.020299242117111746 i: 422 ha.loc[0,'a'] 5596\n",
      "list(a)[0]: 5596 time: 0.08171796798706055 lenp(ha): 0.5131187449283202 rate: 0.020270624764503035 i: 423 ha.loc[0,'a'] 2389\n",
      "list(a)[0]: 2389 time: 0.06667852401733398 lenp(ha): 0.5128482553421694 rate: 0.020242007411894327 i: 424 ha.loc[0,'a'] 165\n",
      "list(a)[0]: 165 time: 0.0807490348815918 lenp(ha): 0.5125777657560184 rate: 0.020213390059285616 i: 425 ha.loc[0,'a'] 3146\n",
      "list(a)[0]: 3146 time: 0.12031984329223633 lenp(ha): 0.5123072761698675 rate: 0.020184772706676905 i: 426 ha.loc[0,'a'] 5429\n",
      "list(a)[0]: 5429 time: 0.11029481887817383 lenp(ha): 0.5117662969975656 rate: 0.020151385795300077 i: 427 ha.loc[0,'a'] 4638\n",
      "list(a)[0]: 4638 time: 0.10578203201293945 lenp(ha): 0.5114958074114146 rate: 0.020122768442691365 i: 428 ha.loc[0,'a'] 7133\n",
      "list(a)[0]: 7133 time: 0.1699516773223877 lenp(ha): 0.5109548282391128 rate: 0.020070303296242063 i: 429 ha.loc[0,'a'] 4338\n",
      "list(a)[0]: 4338 time: 0.09778785705566406 lenp(ha): 0.5106843386529618 rate: 0.020041685943633356 i: 430 ha.loc[0,'a'] 2104\n",
      "list(a)[0]: 2104 time: 0.09528493881225586 lenp(ha): 0.510413849066811 rate: 0.020013068591024644 i: 431 ha.loc[0,'a'] 2956\n",
      "list(a)[0]: 2956 time: 0.05918383598327637 lenp(ha): 0.51014335948066 rate: 0.019984451238415933 i: 432 ha.loc[0,'a'] 6327\n",
      "list(a)[0]: 6327 time: 0.06918168067932129 lenp(ha): 0.5098728698945091 rate: 0.019955833885807225 i: 433 ha.loc[0,'a'] 6459\n",
      "list(a)[0]: 6459 time: 0.09374761581420898 lenp(ha): 0.5096023803083581 rate: 0.019927216533198514 i: 434 ha.loc[0,'a'] 5233\n",
      "list(a)[0]: 5233 time: 0.09224510192871094 lenp(ha): 0.5093318907222072 rate: 0.019898599180589803 i: 435 ha.loc[0,'a'] 7852\n",
      "list(a)[0]: 7852 time: 0.09174561500549316 lenp(ha): 0.5090614011360562 rate: 0.019869981827981092 i: 436 ha.loc[0,'a'] 2269\n",
      "list(a)[0]: 2269 time: 0.09675884246826172 lenp(ha): 0.5087909115499053 rate: 0.019841364475372384 i: 437 ha.loc[0,'a'] 5334\n",
      "list(a)[0]: 5334 time: 0.16694355010986328 lenp(ha): 0.5082499323776034 rate: 0.01978412977015496 i: 438 ha.loc[0,'a'] 2894\n",
      "list(a)[0]: 2894 time: 0.08472514152526855 lenp(ha): 0.5079794427914526 rate: 0.019755512417546254 i: 439 ha.loc[0,'a'] 8010\n",
      "list(a)[0]: 8010 time: 0.09825921058654785 lenp(ha): 0.5077089532053016 rate: 0.019726895064937543 i: 440 ha.loc[0,'a'] 7009\n",
      "list(a)[0]: 7009 time: 0.08723163604736328 lenp(ha): 0.5074384636191507 rate: 0.01969827771232883 i: 441 ha.loc[0,'a'] 3257\n",
      "list(a)[0]: 3257 time: 0.09575462341308594 lenp(ha): 0.5071679740329997 rate: 0.019669660359720124 i: 442 ha.loc[0,'a'] 5338\n",
      "list(a)[0]: 5338 time: 0.10026693344116211 lenp(ha): 0.5068974844468488 rate: 0.019641043007111413 i: 443 ha.loc[0,'a'] 3590\n",
      "list(a)[0]: 3590 time: 0.09475278854370117 lenp(ha): 0.5066269948606978 rate: 0.0196124256545027 i: 444 ha.loc[0,'a'] 809\n",
      "list(a)[0]: 809 time: 0.07972526550292969 lenp(ha): 0.5063565052745469 rate: 0.01958380830189399 i: 445 ha.loc[0,'a'] 3168\n",
      "list(a)[0]: 3168 time: 0.08572769165039062 lenp(ha): 0.506086015688396 rate: 0.019555190949285282 i: 446 ha.loc[0,'a'] 3954\n",
      "list(a)[0]: 3954 time: 0.06467175483703613 lenp(ha): 0.5058155261022451 rate: 0.01952657359667657 i: 447 ha.loc[0,'a'] 5971\n",
      "list(a)[0]: 5971 time: 0.11433935165405273 lenp(ha): 0.5055450365160942 rate: 0.01949795624406786 i: 448 ha.loc[0,'a'] 840\n",
      "list(a)[0]: 840 time: 0.09675717353820801 lenp(ha): 0.5052745469299432 rate: 0.019469338891459152 i: 449 ha.loc[0,'a'] 7996\n",
      "list(a)[0]: 7996 time: 0.11032700538635254 lenp(ha): 0.5050040573437923 rate: 0.01944072153885044 i: 450 ha.loc[0,'a'] 3665\n",
      "list(a)[0]: 3665 time: 0.08121418952941895 lenp(ha): 0.5047335677576413 rate: 0.01941210418624173 i: 451 ha.loc[0,'a'] 6763\n",
      "list(a)[0]: 6763 time: 0.11480545997619629 lenp(ha): 0.5044630781714904 rate: 0.019383486833633022 i: 452 ha.loc[0,'a'] 7646\n",
      "list(a)[0]: 7646 time: 0.08021426200866699 lenp(ha): 0.5041925885853394 rate: 0.01935486948102431 i: 453 ha.loc[0,'a'] 2264\n",
      "list(a)[0]: 2264 time: 0.08773374557495117 lenp(ha): 0.5039220989991885 rate: 0.0193262521284156 i: 454 ha.loc[0,'a'] 2981\n",
      "list(a)[0]: 2981 time: 0.11029314994812012 lenp(ha): 0.5033811198268867 rate: 0.01929286521703877 i: 455 ha.loc[0,'a'] 3717\n",
      "list(a)[0]: 3717 time: 0.06119418144226074 lenp(ha): 0.5031106302407358 rate: 0.01926424786443006 i: 456 ha.loc[0,'a'] 3423\n",
      "list(a)[0]: 3423 time: 0.12232518196105957 lenp(ha): 0.5025696510684339 rate: 0.019235630511821353 i: 457 ha.loc[0,'a'] 1755\n",
      "list(a)[0]: 1755 time: 0.055147409439086914 lenp(ha): 0.5022991614822829 rate: 0.01920701315921264 i: 458 ha.loc[0,'a'] 1898\n",
      "list(a)[0]: 1898 time: 0.054644107818603516 lenp(ha): 0.502028671896132 rate: 0.01917839580660393 i: 459 ha.loc[0,'a'] 4044\n",
      "list(a)[0]: 4044 time: 0.11480402946472168 lenp(ha): 0.501758182309981 rate: 0.019149778453995223 i: 460 ha.loc[0,'a'] 1849\n",
      "list(a)[0]: 1849 time: 0.09074068069458008 lenp(ha): 0.5014876927238301 rate: 0.01912116110138651 i: 461 ha.loc[0,'a'] 4470\n",
      "list(a)[0]: 4470 time: 0.10777497291564941 lenp(ha): 0.5012172031376791 rate: 0.0190925437487778 i: 462 ha.loc[0,'a'] 5760\n",
      "list(a)[0]: 5760 time: 0.06768202781677246 lenp(ha): 0.5009467135515283 rate: 0.01906392639616909 i: 463 ha.loc[0,'a'] 3554\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3554 time: 0.07820892333984375 lenp(ha): 0.5006762239653774 rate: 0.01903530904356038 i: 464 ha.loc[0,'a'] 4451\n",
      "list(a)[0]: 4451 time: 0.10327577590942383 lenp(ha): 0.5004057343792264 rate: 0.01900669169095167 i: 465 ha.loc[0,'a'] 1604\n",
      "list(a)[0]: 1604 time: 0.10579442977905273 lenp(ha): 0.5001352447930755 rate: 0.01897807433834296 i: 466 ha.loc[0,'a'] 159\n",
      "list(a)[0]: 159 time: 0.1183164119720459 lenp(ha): 0.4998647552069245 rate: 0.01894945698573425 i: 467 ha.loc[0,'a'] 5080\n",
      "list(a)[0]: 5080 time: 0.1002662181854248 lenp(ha): 0.4995942656207736 rate: 0.01892083963312554 i: 468 ha.loc[0,'a'] 8473\n",
      "list(a)[0]: 8473 time: 0.0902414321899414 lenp(ha): 0.4993237760346227 rate: 0.01889222228051683 i: 469 ha.loc[0,'a'] 6280\n",
      "list(a)[0]: 6280 time: 0.11731147766113281 lenp(ha): 0.49905328644847174 rate: 0.018863604927908117 i: 470 ha.loc[0,'a'] 2234\n",
      "list(a)[0]: 2234 time: 0.06517314910888672 lenp(ha): 0.4987827968623208 rate: 0.01883498757529941 i: 471 ha.loc[0,'a'] 3094\n",
      "list(a)[0]: 3094 time: 0.0867304801940918 lenp(ha): 0.49851230727616985 rate: 0.0188063702226907 i: 472 ha.loc[0,'a'] 5042\n",
      "list(a)[0]: 5042 time: 0.06015944480895996 lenp(ha): 0.4982418176900189 rate: 0.018777752870081987 i: 473 ha.loc[0,'a'] 5549\n",
      "list(a)[0]: 5549 time: 0.09124231338500977 lenp(ha): 0.497971328103868 rate: 0.01874913551747328 i: 474 ha.loc[0,'a'] 1491\n",
      "list(a)[0]: 1491 time: 0.1072852611541748 lenp(ha): 0.49770083851771707 rate: 0.01872051816486457 i: 475 ha.loc[0,'a'] 2701\n",
      "list(a)[0]: 2701 time: 0.1077880859375 lenp(ha): 0.4974303489315661 rate: 0.018691900812255857 i: 476 ha.loc[0,'a'] 4252\n",
      "list(a)[0]: 4252 time: 0.07169198989868164 lenp(ha): 0.4971598593454152 rate: 0.01866328345964715 i: 477 ha.loc[0,'a'] 2053\n",
      "list(a)[0]: 2053 time: 0.08271980285644531 lenp(ha): 0.4968893697592643 rate: 0.018634666107038438 i: 478 ha.loc[0,'a'] 1091\n",
      "list(a)[0]: 1091 time: 0.06768083572387695 lenp(ha): 0.49661888017311334 rate: 0.018606048754429727 i: 479 ha.loc[0,'a'] 989\n",
      "list(a)[0]: 989 time: 0.10327601432800293 lenp(ha): 0.4963483905869624 rate: 0.018577431401821016 i: 480 ha.loc[0,'a'] 6802\n",
      "list(a)[0]: 6802 time: 0.10477948188781738 lenp(ha): 0.49607790100081145 rate: 0.018548814049212308 i: 481 ha.loc[0,'a'] 5463\n",
      "list(a)[0]: 5463 time: 0.11981964111328125 lenp(ha): 0.49580741141466056 rate: 0.018520196696603597 i: 482 ha.loc[0,'a'] 5824\n",
      "list(a)[0]: 5824 time: 0.08071494102478027 lenp(ha): 0.4955369218285096 rate: 0.018491579343994886 i: 483 ha.loc[0,'a'] 4046\n",
      "list(a)[0]: 4046 time: 0.06367063522338867 lenp(ha): 0.49526643224235867 rate: 0.018467731550154295 i: 484 ha.loc[0,'a'] 4542\n",
      "list(a)[0]: 4542 time: 0.07469677925109863 lenp(ha): 0.4949959426562077 rate: 0.018443883756313704 i: 485 ha.loc[0,'a'] 792\n",
      "list(a)[0]: 792 time: 0.09174442291259766 lenp(ha): 0.4947254530700568 rate: 0.018420035962473113 i: 486 ha.loc[0,'a'] 2688\n",
      "list(a)[0]: 2688 time: 0.09224414825439453 lenp(ha): 0.4944549634839059 rate: 0.01839618816863252 i: 487 ha.loc[0,'a'] 3346\n",
      "list(a)[0]: 3346 time: 0.07469797134399414 lenp(ha): 0.49418447389775494 rate: 0.018372340374791928 i: 488 ha.loc[0,'a'] 3923\n",
      "list(a)[0]: 3923 time: 0.10929012298583984 lenp(ha): 0.493913984311604 rate: 0.018348492580951337 i: 489 ha.loc[0,'a'] 4694\n",
      "list(a)[0]: 4694 time: 0.08472514152526855 lenp(ha): 0.49364349472545305 rate: 0.018324644787110746 i: 490 ha.loc[0,'a'] 6695\n",
      "list(a)[0]: 6695 time: 0.0726933479309082 lenp(ha): 0.49337300513930216 rate: 0.01830079699327015 i: 491 ha.loc[0,'a'] 8640\n",
      "list(a)[0]: 8640 time: 0.06968569755554199 lenp(ha): 0.4931025155531512 rate: 0.01827694919942956 i: 492 ha.loc[0,'a'] 2648\n",
      "list(a)[0]: 2648 time: 0.09023284912109375 lenp(ha): 0.49283202596700026 rate: 0.01825310140558897 i: 493 ha.loc[0,'a'] 7571\n",
      "list(a)[0]: 7571 time: 0.0832221508026123 lenp(ha): 0.4925615363808493 rate: 0.01822925361174838 i: 494 ha.loc[0,'a'] 2945\n",
      "list(a)[0]: 2945 time: 0.05915689468383789 lenp(ha): 0.49229104679469843 rate: 0.018205405817907784 i: 495 ha.loc[0,'a'] 2999\n",
      "list(a)[0]: 2999 time: 0.0967569351196289 lenp(ha): 0.4920205572085475 rate: 0.018181558024067193 i: 496 ha.loc[0,'a'] 5013\n",
      "list(a)[0]: 5013 time: 0.11229896545410156 lenp(ha): 0.49175006762239654 rate: 0.018157710230226602 i: 497 ha.loc[0,'a'] 859\n",
      "list(a)[0]: 859 time: 0.07219171524047852 lenp(ha): 0.4914795780362456 rate: 0.01813386243638601 i: 498 ha.loc[0,'a'] 2733\n",
      "list(a)[0]: 2733 time: 0.06517362594604492 lenp(ha): 0.49120908845009464 rate: 0.018110014642545417 i: 499 ha.loc[0,'a'] 5505\n",
      "list(a)[0]: 5505 time: 0.08522677421569824 lenp(ha): 0.49093859886394375 rate: 0.018086166848704826 i: 500 ha.loc[0,'a'] 5928\n",
      "list(a)[0]: 5928 time: 0.08171820640563965 lenp(ha): 0.4906681092777928 rate: 0.018062319054864235 i: 501 ha.loc[0,'a'] 822\n",
      "list(a)[0]: 822 time: 0.097259521484375 lenp(ha): 0.49039761969164186 rate: 0.018038471261023644 i: 502 ha.loc[0,'a'] 5086\n",
      "list(a)[0]: 5086 time: 0.09725785255432129 lenp(ha): 0.4901271301054909 rate: 0.01801462346718305 i: 503 ha.loc[0,'a'] 764\n",
      "list(a)[0]: 764 time: 0.08572769165039062 lenp(ha): 0.48985664051934 rate: 0.01799077567334246 i: 504 ha.loc[0,'a'] 7024\n",
      "list(a)[0]: 7024 time: 0.1092844009399414 lenp(ha): 0.4895861509331891 rate: 0.017966927879501868 i: 505 ha.loc[0,'a'] 7275\n",
      "list(a)[0]: 7275 time: 0.06968545913696289 lenp(ha): 0.48931566134703813 rate: 0.017943080085661277 i: 506 ha.loc[0,'a'] 994\n",
      "list(a)[0]: 994 time: 0.07319426536560059 lenp(ha): 0.4890451717608872 rate: 0.017919232291820682 i: 507 ha.loc[0,'a'] 3709\n",
      "list(a)[0]: 3709 time: 0.08272027969360352 lenp(ha): 0.4887746821747363 rate: 0.01789538449798009 i: 508 ha.loc[0,'a'] 2381\n",
      "list(a)[0]: 2381 time: 0.05665087699890137 lenp(ha): 0.48850419258858535 rate: 0.0178715367041395 i: 509 ha.loc[0,'a'] 4360\n",
      "list(a)[0]: 4360 time: 0.09425020217895508 lenp(ha): 0.4882337030024344 rate: 0.01784768891029891 i: 510 ha.loc[0,'a'] 3971\n",
      "list(a)[0]: 3971 time: 0.0937490463256836 lenp(ha): 0.48796321341628346 rate: 0.017823841116458315 i: 511 ha.loc[0,'a'] 1581\n",
      "list(a)[0]: 1581 time: 0.04913139343261719 lenp(ha): 0.4876927238301325 rate: 0.017799993322617724 i: 512 ha.loc[0,'a'] 5474\n",
      "list(a)[0]: 5474 time: 0.12082242965698242 lenp(ha): 0.4874222342439816 rate: 0.017776145528777133 i: 513 ha.loc[0,'a'] 4381\n",
      "list(a)[0]: 4381 time: 0.07018780708312988 lenp(ha): 0.4871517446578307 rate: 0.017752297734936542 i: 514 ha.loc[0,'a'] 6152\n",
      "list(a)[0]: 6152 time: 0.08723235130310059 lenp(ha): 0.48688125507167973 rate: 0.017728449941095948 i: 515 ha.loc[0,'a'] 834\n",
      "list(a)[0]: 834 time: 0.04762625694274902 lenp(ha): 0.4866107654855288 rate: 0.017704602147255357 i: 516 ha.loc[0,'a'] 8318\n",
      "list(a)[0]: 8318 time: 0.08121681213378906 lenp(ha): 0.4863402758993779 rate: 0.017680754353414766 i: 517 ha.loc[0,'a'] 5136\n",
      "list(a)[0]: 5136 time: 0.06467270851135254 lenp(ha): 0.48606978631322695 rate: 0.017656906559574175 i: 518 ha.loc[0,'a'] 6615\n",
      "list(a)[0]: 6615 time: 0.08472657203674316 lenp(ha): 0.485799296727076 rate: 0.01763305876573358 i: 519 ha.loc[0,'a'] 1380\n",
      "list(a)[0]: 1380 time: 0.043114662170410156 lenp(ha): 0.48552880714092506 rate: 0.01760921097189299 i: 520 ha.loc[0,'a'] 6761\n",
      "list(a)[0]: 6761 time: 0.10828876495361328 lenp(ha): 0.48525831755477417 rate: 0.0175853631780524 i: 521 ha.loc[0,'a'] 5855\n",
      "list(a)[0]: 5855 time: 0.0932474136352539 lenp(ha): 0.4849878279686232 rate: 0.017561515384211808 i: 522 ha.loc[0,'a'] 1256\n",
      "list(a)[0]: 1256 time: 0.0832204818725586 lenp(ha): 0.4847173383824723 rate: 0.017537667590371214 i: 523 ha.loc[0,'a'] 4283\n",
      "list(a)[0]: 4283 time: 0.04712390899658203 lenp(ha): 0.4844468487963213 rate: 0.017513819796530623 i: 524 ha.loc[0,'a'] 1940\n",
      "list(a)[0]: 1940 time: 0.09826207160949707 lenp(ha): 0.4841763592101704 rate: 0.01748997200269003 i: 525 ha.loc[0,'a'] 8784\n",
      "list(a)[0]: 8784 time: 0.0937492847442627 lenp(ha): 0.4839058696240195 rate: 0.01746612420884944 i: 526 ha.loc[0,'a'] 3882\n",
      "list(a)[0]: 3882 time: 0.10076761245727539 lenp(ha): 0.48363538003786855 rate: 0.017442276415008846 i: 527 ha.loc[0,'a'] 3625\n",
      "list(a)[0]: 3625 time: 0.05113649368286133 lenp(ha): 0.4833648904517176 rate: 0.017418428621168255 i: 528 ha.loc[0,'a'] 2313\n",
      "list(a)[0]: 2313 time: 0.14438343048095703 lenp(ha): 0.48309440086556665 rate: 0.017394580827327664 i: 529 ha.loc[0,'a'] 7142\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 7142 time: 0.08171725273132324 lenp(ha): 0.48282391127941576 rate: 0.017370733033487074 i: 530 ha.loc[0,'a'] 4640\n",
      "list(a)[0]: 4640 time: 0.07921171188354492 lenp(ha): 0.4825534216932648 rate: 0.01734688523964648 i: 531 ha.loc[0,'a'] 4646\n",
      "list(a)[0]: 4646 time: 0.05514717102050781 lenp(ha): 0.48228293210711387 rate: 0.017323037445805888 i: 532 ha.loc[0,'a'] 6768\n",
      "list(a)[0]: 6768 time: 0.0972590446472168 lenp(ha): 0.4820124425209629 rate: 0.017299189651965297 i: 533 ha.loc[0,'a'] 1149\n",
      "list(a)[0]: 1149 time: 0.07820916175842285 lenp(ha): 0.48174195293481203 rate: 0.017275341858124706 i: 534 ha.loc[0,'a'] 7932\n",
      "list(a)[0]: 7932 time: 0.08471989631652832 lenp(ha): 0.4814714633486611 rate: 0.017251494064284112 i: 535 ha.loc[0,'a'] 799\n",
      "list(a)[0]: 799 time: 0.10630226135253906 lenp(ha): 0.48120097376251014 rate: 0.01722764627044352 i: 536 ha.loc[0,'a'] 7494\n",
      "list(a)[0]: 7494 time: 0.06316804885864258 lenp(ha): 0.4809304841763592 rate: 0.01720379847660293 i: 537 ha.loc[0,'a'] 266\n",
      "list(a)[0]: 266 time: 0.08572864532470703 lenp(ha): 0.48065999459020825 rate: 0.01717995068276234 i: 538 ha.loc[0,'a'] 4342\n",
      "list(a)[0]: 4342 time: 0.07770657539367676 lenp(ha): 0.48038950500405736 rate: 0.017156102888921745 i: 539 ha.loc[0,'a'] 6528\n",
      "list(a)[0]: 6528 time: 0.0586552619934082 lenp(ha): 0.4801190154179064 rate: 0.017132255095081154 i: 540 ha.loc[0,'a'] 529\n",
      "list(a)[0]: 529 time: 0.042113542556762695 lenp(ha): 0.47984852583175547 rate: 0.017108407301240563 i: 541 ha.loc[0,'a'] 7939\n",
      "list(a)[0]: 7939 time: 0.06266665458679199 lenp(ha): 0.4795780362456045 rate: 0.017084559507399972 i: 542 ha.loc[0,'a'] 4707\n",
      "list(a)[0]: 4707 time: 0.06066322326660156 lenp(ha): 0.47930754665945363 rate: 0.017060711713559377 i: 543 ha.loc[0,'a'] 2453\n",
      "list(a)[0]: 2453 time: 0.05263924598693848 lenp(ha): 0.4790370570733027 rate: 0.017036863919718787 i: 544 ha.loc[0,'a'] 6694\n",
      "list(a)[0]: 6694 time: 0.0726921558380127 lenp(ha): 0.47876656748715174 rate: 0.017013016125878196 i: 545 ha.loc[0,'a'] 4302\n",
      "list(a)[0]: 4302 time: 0.09241580963134766 lenp(ha): 0.4784960779010008 rate: 0.016989168332037605 i: 546 ha.loc[0,'a'] 2314\n",
      "list(a)[0]: 2314 time: 0.08221912384033203 lenp(ha): 0.4782255883148499 rate: 0.01696532053819701 i: 547 ha.loc[0,'a'] 2450\n",
      "list(a)[0]: 2450 time: 0.1388707160949707 lenp(ha): 0.477684609142548 rate: 0.016931933626820182 i: 548 ha.loc[0,'a'] 4096\n",
      "list(a)[0]: 4096 time: 0.06416916847229004 lenp(ha): 0.47741411955639707 rate: 0.01690808583297959 i: 549 ha.loc[0,'a'] 5878\n",
      "list(a)[0]: 5878 time: 0.08021068572998047 lenp(ha): 0.4771436299702461 rate: 0.016884238039139 i: 550 ha.loc[0,'a'] 6285\n",
      "list(a)[0]: 6285 time: 0.06366944313049316 lenp(ha): 0.47687314038409523 rate: 0.016860390245298406 i: 551 ha.loc[0,'a'] 4209\n",
      "list(a)[0]: 4209 time: 0.1664426326751709 lenp(ha): 0.47633216121179334 rate: 0.016827003333921578 i: 552 ha.loc[0,'a'] 6736\n",
      "list(a)[0]: 6736 time: 0.06266999244689941 lenp(ha): 0.4760616716256424 rate: 0.016803155540080987 i: 553 ha.loc[0,'a'] 3667\n",
      "list(a)[0]: 3667 time: 0.10527896881103516 lenp(ha): 0.4757911820394915 rate: 0.016779307746240396 i: 554 ha.loc[0,'a'] 2598\n",
      "list(a)[0]: 2598 time: 0.11731219291687012 lenp(ha): 0.47552069245334055 rate: 0.016755459952399805 i: 555 ha.loc[0,'a'] 8415\n",
      "list(a)[0]: 8415 time: 0.10528111457824707 lenp(ha): 0.4752502028671896 rate: 0.01673161215855921 i: 556 ha.loc[0,'a'] 4644\n",
      "list(a)[0]: 4644 time: 0.08322262763977051 lenp(ha): 0.47497971328103866 rate: 0.01670776436471862 i: 557 ha.loc[0,'a'] 6446\n",
      "list(a)[0]: 6446 time: 0.06768012046813965 lenp(ha): 0.47470922369488777 rate: 0.01668391657087803 i: 558 ha.loc[0,'a'] 2331\n",
      "list(a)[0]: 2331 time: 0.15641522407531738 lenp(ha): 0.4744387341087368 rate: 0.016660068777037438 i: 559 ha.loc[0,'a'] 2262\n",
      "list(a)[0]: 2262 time: 0.16945195198059082 lenp(ha): 0.47389775493643493 rate: 0.01661714274812437 i: 560 ha.loc[0,'a'] 7766\n",
      "list(a)[0]: 7766 time: 0.08773255348205566 lenp(ha): 0.473627265350284 rate: 0.01659329495428378 i: 561 ha.loc[0,'a'] 2869\n",
      "list(a)[0]: 2869 time: 0.05213785171508789 lenp(ha): 0.4733567757641331 rate: 0.016569447160443188 i: 562 ha.loc[0,'a'] 4609\n",
      "list(a)[0]: 4609 time: 0.06717872619628906 lenp(ha): 0.47308628617798215 rate: 0.016545599366602597 i: 563 ha.loc[0,'a'] 4225\n",
      "list(a)[0]: 4225 time: 0.08221793174743652 lenp(ha): 0.4728157965918312 rate: 0.016521751572762002 i: 564 ha.loc[0,'a'] 7929\n",
      "list(a)[0]: 7929 time: 0.08572769165039062 lenp(ha): 0.47254530700568026 rate: 0.01649790377892141 i: 565 ha.loc[0,'a'] 2087\n",
      "list(a)[0]: 2087 time: 0.10126948356628418 lenp(ha): 0.47227481741952937 rate: 0.01647405598508082 i: 566 ha.loc[0,'a'] 2007\n",
      "list(a)[0]: 2007 time: 0.076202392578125 lenp(ha): 0.4720043278333784 rate: 0.01645020819124023 i: 567 ha.loc[0,'a'] 4434\n",
      "list(a)[0]: 4434 time: 0.09575676918029785 lenp(ha): 0.4717338382472275 rate: 0.016426360397399635 i: 568 ha.loc[0,'a'] 3660\n",
      "list(a)[0]: 3660 time: 0.08171629905700684 lenp(ha): 0.47146334866107653 rate: 0.016402512603559044 i: 569 ha.loc[0,'a'] 4732\n",
      "list(a)[0]: 4732 time: 0.08372282981872559 lenp(ha): 0.47119285907492564 rate: 0.016378664809718453 i: 570 ha.loc[0,'a'] 618\n",
      "list(a)[0]: 618 time: 0.04269218444824219 lenp(ha): 0.4709223694887747 rate: 0.016354817015877862 i: 571 ha.loc[0,'a'] 210\n",
      "list(a)[0]: 210 time: 0.0872337818145752 lenp(ha): 0.47065187990262375 rate: 0.016330969222037268 i: 572 ha.loc[0,'a'] 2756\n",
      "list(a)[0]: 2756 time: 0.08522605895996094 lenp(ha): 0.4703813903164728 rate: 0.016307121428196677 i: 573 ha.loc[0,'a'] 6378\n",
      "list(a)[0]: 6378 time: 0.09124231338500977 lenp(ha): 0.47011090073032186 rate: 0.016283273634356086 i: 574 ha.loc[0,'a'] 5210\n",
      "list(a)[0]: 5210 time: 0.07820892333984375 lenp(ha): 0.46984041114417097 rate: 0.016259425840515495 i: 575 ha.loc[0,'a'] 6639\n",
      "list(a)[0]: 6639 time: 0.06366991996765137 lenp(ha): 0.46956992155802 rate: 0.0162355780466749 i: 576 ha.loc[0,'a'] 560\n",
      "list(a)[0]: 560 time: 0.06968569755554199 lenp(ha): 0.4692994319718691 rate: 0.01621173025283431 i: 577 ha.loc[0,'a'] 3275\n",
      "list(a)[0]: 3275 time: 0.08873558044433594 lenp(ha): 0.46902894238571813 rate: 0.01618788245899372 i: 578 ha.loc[0,'a'] 4034\n",
      "list(a)[0]: 4034 time: 0.10477852821350098 lenp(ha): 0.46875845279956724 rate: 0.016164034665153128 i: 579 ha.loc[0,'a'] 4138\n",
      "list(a)[0]: 4138 time: 0.07118916511535645 lenp(ha): 0.4684879632134163 rate: 0.016140186871312533 i: 580 ha.loc[0,'a'] 5004\n",
      "list(a)[0]: 5004 time: 0.0902400016784668 lenp(ha): 0.46821747362726535 rate: 0.016116339077471942 i: 581 ha.loc[0,'a'] 4297\n",
      "list(a)[0]: 4297 time: 0.0797121524810791 lenp(ha): 0.4679469840411144 rate: 0.01609249128363135 i: 582 ha.loc[0,'a'] 3773\n",
      "list(a)[0]: 3773 time: 0.08723330497741699 lenp(ha): 0.4676764944549635 rate: 0.01606864348979076 i: 583 ha.loc[0,'a'] 5253\n",
      "list(a)[0]: 5253 time: 0.08823418617248535 lenp(ha): 0.46740600486881256 rate: 0.016044795695950166 i: 584 ha.loc[0,'a'] 4600\n",
      "list(a)[0]: 4600 time: 0.09274697303771973 lenp(ha): 0.4671355152826616 rate: 0.016020947902109575 i: 585 ha.loc[0,'a'] 5706\n",
      "list(a)[0]: 5706 time: 0.09876203536987305 lenp(ha): 0.46686502569651067 rate: 0.015997100108268984 i: 586 ha.loc[0,'a'] 1040\n",
      "list(a)[0]: 1040 time: 0.08873581886291504 lenp(ha): 0.4665945361103597 rate: 0.015973252314428393 i: 587 ha.loc[0,'a'] 4322\n",
      "list(a)[0]: 4322 time: 0.0743257999420166 lenp(ha): 0.46632404652420884 rate: 0.0159494045205878 i: 588 ha.loc[0,'a'] 3245\n",
      "list(a)[0]: 3245 time: 0.11681008338928223 lenp(ha): 0.4660535569380579 rate: 0.015925556726747208 i: 589 ha.loc[0,'a'] 5831\n",
      "list(a)[0]: 5831 time: 0.08472633361816406 lenp(ha): 0.46578306735190694 rate: 0.015901708932906617 i: 590 ha.loc[0,'a'] 7386\n",
      "list(a)[0]: 7386 time: 0.06767916679382324 lenp(ha): 0.465512577765756 rate: 0.015877861139066026 i: 591 ha.loc[0,'a'] 1672\n",
      "list(a)[0]: 1672 time: 0.0897371768951416 lenp(ha): 0.4652420881796051 rate: 0.01585401334522543 i: 592 ha.loc[0,'a'] 7432\n",
      "list(a)[0]: 7432 time: 0.06116318702697754 lenp(ha): 0.46497159859345416 rate: 0.01583016555138484 i: 593 ha.loc[0,'a'] 8316\n",
      "list(a)[0]: 8316 time: 0.07921028137207031 lenp(ha): 0.4647011090073032 rate: 0.01580631775754425 i: 594 ha.loc[0,'a'] 4673\n",
      "list(a)[0]: 4673 time: 0.08522725105285645 lenp(ha): 0.46443061942115227 rate: 0.01578246996370366 i: 595 ha.loc[0,'a'] 2281\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2281 time: 0.10878896713256836 lenp(ha): 0.4641601298350014 rate: 0.015758622169863064 i: 596 ha.loc[0,'a'] 4746\n",
      "list(a)[0]: 4746 time: 0.05314207077026367 lenp(ha): 0.46388964024885043 rate: 0.015734774376022474 i: 597 ha.loc[0,'a'] 5479\n",
      "list(a)[0]: 5479 time: 0.08071470260620117 lenp(ha): 0.4636191506626995 rate: 0.015710926582181883 i: 598 ha.loc[0,'a'] 8149\n",
      "list(a)[0]: 8149 time: 0.030582189559936523 lenp(ha): 0.46334866107654854 rate: 0.01568707878834129 i: 599 ha.loc[0,'a'] 5269\n",
      "list(a)[0]: 5269 time: 0.08472657203674316 lenp(ha): 0.4630781714903976 rate: 0.015663230994500697 i: 600 ha.loc[0,'a'] 2123\n",
      "list(a)[0]: 2123 time: 0.07820868492126465 lenp(ha): 0.4628076819042467 rate: 0.015639383200660106 i: 601 ha.loc[0,'a'] 6599\n",
      "list(a)[0]: 6599 time: 0.07319402694702148 lenp(ha): 0.46253719231809576 rate: 0.015615535406819515 i: 602 ha.loc[0,'a'] 5966\n",
      "list(a)[0]: 5966 time: 0.08425521850585938 lenp(ha): 0.4622667027319448 rate: 0.015591687612978923 i: 603 ha.loc[0,'a'] 5343\n",
      "list(a)[0]: 5343 time: 0.07422876358032227 lenp(ha): 0.46199621314579387 rate: 0.015567839819138332 i: 604 ha.loc[0,'a'] 2792\n",
      "list(a)[0]: 2792 time: 0.0857248306274414 lenp(ha): 0.461725723559643 rate: 0.015543992025297739 i: 605 ha.loc[0,'a'] 7604\n",
      "list(a)[0]: 7604 time: 0.10979223251342773 lenp(ha): 0.46145523397349203 rate: 0.015520144231457148 i: 606 ha.loc[0,'a'] 1087\n",
      "list(a)[0]: 1087 time: 0.08522629737854004 lenp(ha): 0.4611847443873411 rate: 0.015496296437616556 i: 607 ha.loc[0,'a'] 3343\n",
      "list(a)[0]: 3343 time: 0.08021163940429688 lenp(ha): 0.46091425480119014 rate: 0.015472448643775965 i: 608 ha.loc[0,'a'] 6185\n",
      "list(a)[0]: 6185 time: 0.14739227294921875 lenp(ha): 0.4603732756288883 rate: 0.0154295226148629 i: 609 ha.loc[0,'a'] 587\n",
      "list(a)[0]: 587 time: 0.08522796630859375 lenp(ha): 0.46010278604273736 rate: 0.015405674821022307 i: 610 ha.loc[0,'a'] 4139\n",
      "list(a)[0]: 4139 time: 0.07118916511535645 lenp(ha): 0.4598322964565864 rate: 0.015381827027181716 i: 611 ha.loc[0,'a'] 2207\n",
      "list(a)[0]: 2207 time: 0.15090131759643555 lenp(ha): 0.4592913172842846 rate: 0.01534367055703677 i: 612 ha.loc[0,'a'] 1438\n",
      "list(a)[0]: 1438 time: 0.0962533950805664 lenp(ha): 0.4590208276981336 rate: 0.015319822763196177 i: 613 ha.loc[0,'a'] 943\n",
      "list(a)[0]: 943 time: 0.06667184829711914 lenp(ha): 0.4587503381119827 rate: 0.015300744528123703 i: 614 ha.loc[0,'a'] 8496\n",
      "list(a)[0]: 8496 time: 0.07771801948547363 lenp(ha): 0.45847984852583173 rate: 0.01528166629305123 i: 615 ha.loc[0,'a'] 7228\n",
      "list(a)[0]: 7228 time: 0.06116318702697754 lenp(ha): 0.45820935893968084 rate: 0.015262588057978756 i: 616 ha.loc[0,'a'] 3547\n",
      "list(a)[0]: 3547 time: 0.04211163520812988 lenp(ha): 0.4579388693535299 rate: 0.015243509822906284 i: 617 ha.loc[0,'a'] 1284\n",
      "list(a)[0]: 1284 time: 0.052639007568359375 lenp(ha): 0.45766837976737895 rate: 0.01522443158783381 i: 618 ha.loc[0,'a'] 5747\n",
      "list(a)[0]: 5747 time: 0.0696859359741211 lenp(ha): 0.457397890181228 rate: 0.015205353352761335 i: 619 ha.loc[0,'a'] 5957\n",
      "list(a)[0]: 5957 time: 0.05815553665161133 lenp(ha): 0.4571274005950771 rate: 0.015186275117688863 i: 620 ha.loc[0,'a'] 2257\n",
      "list(a)[0]: 2257 time: 0.08372068405151367 lenp(ha): 0.45685691100892617 rate: 0.015167196882616389 i: 621 ha.loc[0,'a'] 5351\n",
      "list(a)[0]: 5351 time: 0.060159921646118164 lenp(ha): 0.4565864214227752 rate: 0.015148118647543916 i: 622 ha.loc[0,'a'] 3979\n",
      "list(a)[0]: 3979 time: 0.05965757369995117 lenp(ha): 0.4563159318366243 rate: 0.015129040412471442 i: 623 ha.loc[0,'a'] 1486\n",
      "list(a)[0]: 1486 time: 0.05063486099243164 lenp(ha): 0.45604544225047333 rate: 0.015109962177398968 i: 624 ha.loc[0,'a'] 7964\n",
      "list(a)[0]: 7964 time: 0.05815577507019043 lenp(ha): 0.45577495266432244 rate: 0.015090883942326496 i: 625 ha.loc[0,'a'] 2216\n",
      "list(a)[0]: 2216 time: 0.06617569923400879 lenp(ha): 0.4555044630781715 rate: 0.015071805707254022 i: 626 ha.loc[0,'a'] 1642\n",
      "list(a)[0]: 1642 time: 0.0726933479309082 lenp(ha): 0.45523397349202055 rate: 0.01505272747218155 i: 627 ha.loc[0,'a'] 4924\n",
      "list(a)[0]: 4924 time: 0.05066657066345215 lenp(ha): 0.4549634839058696 rate: 0.015033649237109075 i: 628 ha.loc[0,'a'] 5443\n",
      "list(a)[0]: 5443 time: 0.049132347106933594 lenp(ha): 0.4546929943197187 rate: 0.015014571002036601 i: 629 ha.loc[0,'a'] 6429\n",
      "list(a)[0]: 6429 time: 0.05263853073120117 lenp(ha): 0.45442250473356777 rate: 0.014995492766964129 i: 630 ha.loc[0,'a'] 869\n",
      "list(a)[0]: 869 time: 0.06366848945617676 lenp(ha): 0.4541520151474168 rate: 0.014976414531891654 i: 631 ha.loc[0,'a'] 2368\n",
      "list(a)[0]: 2368 time: 0.05965924263000488 lenp(ha): 0.4538815255612659 rate: 0.014957336296819182 i: 632 ha.loc[0,'a'] 7195\n",
      "list(a)[0]: 7195 time: 0.06567239761352539 lenp(ha): 0.453611035975115 rate: 0.014938258061746708 i: 633 ha.loc[0,'a'] 2672\n",
      "list(a)[0]: 2672 time: 0.05367302894592285 lenp(ha): 0.45334054638896404 rate: 0.014919179826674234 i: 634 ha.loc[0,'a'] 8588\n",
      "list(a)[0]: 8588 time: 0.06116485595703125 lenp(ha): 0.4530700568028131 rate: 0.014900101591601761 i: 635 ha.loc[0,'a'] 3378\n",
      "list(a)[0]: 3378 time: 0.05915689468383789 lenp(ha): 0.45279956721666215 rate: 0.014881023356529287 i: 636 ha.loc[0,'a'] 6477\n",
      "list(a)[0]: 6477 time: 0.06066441535949707 lenp(ha): 0.4525290776305112 rate: 0.014861945121456815 i: 637 ha.loc[0,'a'] 3312\n",
      "list(a)[0]: 3312 time: 0.05016469955444336 lenp(ha): 0.4522585880443603 rate: 0.01484286688638434 i: 638 ha.loc[0,'a'] 5476\n",
      "list(a)[0]: 5476 time: 0.08522796630859375 lenp(ha): 0.45198809845820936 rate: 0.014823788651311866 i: 639 ha.loc[0,'a'] 3890\n",
      "list(a)[0]: 3890 time: 0.04762864112854004 lenp(ha): 0.4517176088720584 rate: 0.014804710416239394 i: 640 ha.loc[0,'a'] 226\n",
      "list(a)[0]: 226 time: 0.0486292839050293 lenp(ha): 0.45144711928590747 rate: 0.01478563218116692 i: 641 ha.loc[0,'a'] 4657\n",
      "list(a)[0]: 4657 time: 0.055646657943725586 lenp(ha): 0.4511766296997566 rate: 0.014766553946094448 i: 642 ha.loc[0,'a'] 5927\n",
      "list(a)[0]: 5927 time: 0.0691843032836914 lenp(ha): 0.45090614011360564 rate: 0.014747475711021973 i: 643 ha.loc[0,'a'] 2926\n",
      "list(a)[0]: 2926 time: 0.036095380783081055 lenp(ha): 0.4506356505274547 rate: 0.0147283974759495 i: 644 ha.loc[0,'a'] 3949\n",
      "list(a)[0]: 3949 time: 0.045651912689208984 lenp(ha): 0.45036516094130374 rate: 0.014709319240877027 i: 645 ha.loc[0,'a'] 5761\n",
      "list(a)[0]: 5761 time: 0.0827188491821289 lenp(ha): 0.45009467135515285 rate: 0.014690241005804553 i: 646 ha.loc[0,'a'] 2358\n",
      "list(a)[0]: 2358 time: 0.07921242713928223 lenp(ha): 0.4498241817690019 rate: 0.01467116277073208 i: 647 ha.loc[0,'a'] 8692\n",
      "list(a)[0]: 8692 time: 0.08773326873779297 lenp(ha): 0.44955369218285096 rate: 0.014652084535659606 i: 648 ha.loc[0,'a'] 5513\n",
      "list(a)[0]: 5513 time: 0.04411578178405762 lenp(ha): 0.4492832025967 rate: 0.014633006300587132 i: 649 ha.loc[0,'a'] 4554\n",
      "list(a)[0]: 4554 time: 0.06767892837524414 lenp(ha): 0.44901271301054907 rate: 0.01461392806551466 i: 650 ha.loc[0,'a'] 5349\n",
      "list(a)[0]: 5349 time: 0.07820725440979004 lenp(ha): 0.4487422234243982 rate: 0.014594849830442186 i: 651 ha.loc[0,'a'] 7528\n",
      "list(a)[0]: 7528 time: 0.05414438247680664 lenp(ha): 0.44847173383824723 rate: 0.014575771595369713 i: 652 ha.loc[0,'a'] 7830\n",
      "list(a)[0]: 7830 time: 0.0696866512298584 lenp(ha): 0.4482012442520963 rate: 0.014556693360297239 i: 653 ha.loc[0,'a'] 6165\n",
      "list(a)[0]: 6165 time: 0.07770061492919922 lenp(ha): 0.44793075466594534 rate: 0.014537615125224765 i: 654 ha.loc[0,'a'] 5223\n",
      "list(a)[0]: 5223 time: 0.11279988288879395 lenp(ha): 0.4473897754936435 rate: 0.014513767331384174 i: 655 ha.loc[0,'a'] 721\n",
      "list(a)[0]: 721 time: 0.07169055938720703 lenp(ha): 0.44711928590749256 rate: 0.0144946890963117 i: 656 ha.loc[0,'a'] 1915\n",
      "list(a)[0]: 1915 time: 0.06316709518432617 lenp(ha): 0.4468487963213416 rate: 0.014475610861239227 i: 657 ha.loc[0,'a'] 5775\n",
      "list(a)[0]: 5775 time: 0.04762744903564453 lenp(ha): 0.4465783067351907 rate: 0.014456532626166753 i: 658 ha.loc[0,'a'] 1909\n",
      "list(a)[0]: 1909 time: 0.08873462677001953 lenp(ha): 0.4463078171490398 rate: 0.014437454391094279 i: 659 ha.loc[0,'a'] 1615\n",
      "list(a)[0]: 1615 time: 0.09575486183166504 lenp(ha): 0.4457668379767379 rate: 0.014413606597253688 i: 660 ha.loc[0,'a'] 6339\n",
      "list(a)[0]: 6339 time: 0.07023310661315918 lenp(ha): 0.44549634839058694 rate: 0.014394528362181214 i: 661 ha.loc[0,'a'] 1036\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1036 time: 0.06316828727722168 lenp(ha): 0.44522585880443605 rate: 0.014375450127108742 i: 662 ha.loc[0,'a'] 8733\n",
      "list(a)[0]: 8733 time: 0.07419681549072266 lenp(ha): 0.4449553692182851 rate: 0.014356371892036267 i: 663 ha.loc[0,'a'] 5281\n",
      "list(a)[0]: 5281 time: 0.05664849281311035 lenp(ha): 0.44468487963213416 rate: 0.014337293656963795 i: 664 ha.loc[0,'a'] 1322\n",
      "list(a)[0]: 1322 time: 0.07469868659973145 lenp(ha): 0.4444143900459832 rate: 0.014318215421891321 i: 665 ha.loc[0,'a'] 7576\n",
      "list(a)[0]: 7576 time: 0.07921028137207031 lenp(ha): 0.4441439004598323 rate: 0.014299137186818847 i: 666 ha.loc[0,'a'] 1377\n",
      "list(a)[0]: 1377 time: 0.0832211971282959 lenp(ha): 0.4438734108736814 rate: 0.014280058951746374 i: 667 ha.loc[0,'a'] 1830\n",
      "list(a)[0]: 1830 time: 0.03860354423522949 lenp(ha): 0.4436029212875304 rate: 0.0142609807166739 i: 668 ha.loc[0,'a'] 8045\n",
      "list(a)[0]: 8045 time: 0.04411721229553223 lenp(ha): 0.4433324317013795 rate: 0.014241902481601428 i: 669 ha.loc[0,'a'] 2989\n",
      "list(a)[0]: 2989 time: 0.06667661666870117 lenp(ha): 0.4430619421152286 rate: 0.014222824246528954 i: 670 ha.loc[0,'a'] 8852\n",
      "list(a)[0]: 8852 time: 0.06366991996765137 lenp(ha): 0.44279145252907764 rate: 0.01420374601145648 i: 671 ha.loc[0,'a'] 5206\n",
      "list(a)[0]: 5206 time: 0.04261279106140137 lenp(ha): 0.4425209629429267 rate: 0.014184667776384007 i: 672 ha.loc[0,'a'] 4361\n",
      "list(a)[0]: 4361 time: 0.057653188705444336 lenp(ha): 0.44225047335677575 rate: 0.014165589541311533 i: 673 ha.loc[0,'a'] 2452\n",
      "list(a)[0]: 2452 time: 0.07520031929016113 lenp(ha): 0.4419799837706248 rate: 0.01414651130623906 i: 674 ha.loc[0,'a'] 1749\n",
      "list(a)[0]: 1749 time: 0.04762697219848633 lenp(ha): 0.4417094941844739 rate: 0.014127433071166587 i: 675 ha.loc[0,'a'] 5357\n",
      "list(a)[0]: 5357 time: 0.07068777084350586 lenp(ha): 0.44143900459832297 rate: 0.014108354836094112 i: 676 ha.loc[0,'a'] 5937\n",
      "list(a)[0]: 5937 time: 0.05815458297729492 lenp(ha): 0.441168515012172 rate: 0.01408927660102164 i: 677 ha.loc[0,'a'] 3206\n",
      "list(a)[0]: 3206 time: 0.05414414405822754 lenp(ha): 0.4408980254260211 rate: 0.014070198365949166 i: 678 ha.loc[0,'a'] 5207\n",
      "list(a)[0]: 5207 time: 0.04615306854248047 lenp(ha): 0.4406275358398702 rate: 0.014051120130876693 i: 679 ha.loc[0,'a'] 6466\n",
      "list(a)[0]: 6466 time: 0.07269287109375 lenp(ha): 0.44035704625371924 rate: 0.01403204189580422 i: 680 ha.loc[0,'a'] 5562\n",
      "list(a)[0]: 5562 time: 0.05614924430847168 lenp(ha): 0.4400865566675683 rate: 0.014012963660731745 i: 681 ha.loc[0,'a'] 1207\n",
      "list(a)[0]: 1207 time: 0.10477805137634277 lenp(ha): 0.43954557749526646 rate: 0.013989115866891154 i: 682 ha.loc[0,'a'] 5848\n",
      "list(a)[0]: 5848 time: 0.0591578483581543 lenp(ha): 0.4392750879091155 rate: 0.01397003763181868 i: 683 ha.loc[0,'a'] 7435\n",
      "list(a)[0]: 7435 time: 0.06768178939819336 lenp(ha): 0.43900459832296457 rate: 0.013950959396746208 i: 684 ha.loc[0,'a'] 3379\n",
      "list(a)[0]: 3379 time: 0.05066990852355957 lenp(ha): 0.4387341087368136 rate: 0.013931881161673734 i: 685 ha.loc[0,'a'] 5317\n",
      "list(a)[0]: 5317 time: 0.07068777084350586 lenp(ha): 0.4384636191506627 rate: 0.01391280292660126 i: 686 ha.loc[0,'a'] 8234\n",
      "list(a)[0]: 8234 time: 0.06818222999572754 lenp(ha): 0.4381931295645118 rate: 0.013893724691528787 i: 687 ha.loc[0,'a'] 4992\n",
      "list(a)[0]: 4992 time: 0.06015825271606445 lenp(ha): 0.43792263997836084 rate: 0.013874646456456313 i: 688 ha.loc[0,'a'] 3768\n",
      "list(a)[0]: 3768 time: 0.03763222694396973 lenp(ha): 0.4376521503922099 rate: 0.01385556822138384 i: 689 ha.loc[0,'a'] 5586\n",
      "list(a)[0]: 5586 time: 0.08873558044433594 lenp(ha): 0.43738166080605895 rate: 0.013836489986311366 i: 690 ha.loc[0,'a'] 7006\n",
      "list(a)[0]: 7006 time: 0.06768059730529785 lenp(ha): 0.43711117121990806 rate: 0.013817411751238892 i: 691 ha.loc[0,'a'] 1516\n",
      "list(a)[0]: 1516 time: 0.06868267059326172 lenp(ha): 0.4368406816337571 rate: 0.01379833351616642 i: 692 ha.loc[0,'a'] 1183\n",
      "list(a)[0]: 1183 time: 0.06818246841430664 lenp(ha): 0.43657019204760616 rate: 0.013779255281093946 i: 693 ha.loc[0,'a'] 3537\n",
      "list(a)[0]: 3537 time: 0.05665135383605957 lenp(ha): 0.4362997024614552 rate: 0.013760177046021473 i: 694 ha.loc[0,'a'] 4691\n",
      "list(a)[0]: 4691 time: 0.06817984580993652 lenp(ha): 0.43602921287530433 rate: 0.013741098810948999 i: 695 ha.loc[0,'a'] 3661\n",
      "list(a)[0]: 3661 time: 0.06817770004272461 lenp(ha): 0.4357587232891534 rate: 0.013722020575876525 i: 696 ha.loc[0,'a'] 2442\n",
      "list(a)[0]: 2442 time: 0.05915665626525879 lenp(ha): 0.43548823370300244 rate: 0.013702942340804053 i: 697 ha.loc[0,'a'] 5854\n",
      "list(a)[0]: 5854 time: 0.03609609603881836 lenp(ha): 0.4352177441168515 rate: 0.013683864105731578 i: 698 ha.loc[0,'a'] 4473\n",
      "list(a)[0]: 4473 time: 0.0661783218383789 lenp(ha): 0.43494725453070054 rate: 0.013664785870659106 i: 699 ha.loc[0,'a'] 7151\n",
      "list(a)[0]: 7151 time: 0.034623146057128906 lenp(ha): 0.43467676494454965 rate: 0.013645707635586632 i: 700 ha.loc[0,'a'] 2844\n",
      "list(a)[0]: 2844 time: 0.06467175483703613 lenp(ha): 0.4344062753583987 rate: 0.013626629400514158 i: 701 ha.loc[0,'a'] 8634\n",
      "list(a)[0]: 8634 time: 0.05263876914978027 lenp(ha): 0.43413578577224776 rate: 0.013607551165441685 i: 702 ha.loc[0,'a'] 4866\n",
      "list(a)[0]: 4866 time: 0.054645538330078125 lenp(ha): 0.4338652961860968 rate: 0.013588472930369211 i: 703 ha.loc[0,'a'] 7471\n",
      "list(a)[0]: 7471 time: 0.05364203453063965 lenp(ha): 0.4335948065999459 rate: 0.013569394695296739 i: 704 ha.loc[0,'a'] 3574\n",
      "list(a)[0]: 3574 time: 0.05163717269897461 lenp(ha): 0.433324317013795 rate: 0.013550316460224265 i: 705 ha.loc[0,'a'] 3848\n",
      "list(a)[0]: 3848 time: 0.06166362762451172 lenp(ha): 0.43305382742764403 rate: 0.01353123822515179 i: 706 ha.loc[0,'a'] 303\n",
      "list(a)[0]: 303 time: 0.05163717269897461 lenp(ha): 0.4327833378414931 rate: 0.013512159990079318 i: 707 ha.loc[0,'a'] 3340\n",
      "list(a)[0]: 3340 time: 0.0626688003540039 lenp(ha): 0.43251284825534214 rate: 0.013493081755006844 i: 708 ha.loc[0,'a'] 6577\n",
      "list(a)[0]: 6577 time: 0.08071422576904297 lenp(ha): 0.43224235866919125 rate: 0.013478773078702488 i: 709 ha.loc[0,'a'] 2780\n",
      "list(a)[0]: 2780 time: 0.04913020133972168 lenp(ha): 0.4319718690830403 rate: 0.013459694843630016 i: 710 ha.loc[0,'a'] 6346\n",
      "list(a)[0]: 6346 time: 0.0626673698425293 lenp(ha): 0.43170137949688936 rate: 0.013440616608557542 i: 711 ha.loc[0,'a'] 7063\n",
      "list(a)[0]: 7063 time: 0.05715060234069824 lenp(ha): 0.4314308899107384 rate: 0.013426307932253188 i: 712 ha.loc[0,'a'] 4166\n",
      "list(a)[0]: 4166 time: 0.060660362243652344 lenp(ha): 0.4311604003245875 rate: 0.013407229697180714 i: 713 ha.loc[0,'a'] 7311\n",
      "list(a)[0]: 7311 time: 0.06015896797180176 lenp(ha): 0.4308899107384366 rate: 0.01338815146210824 i: 714 ha.loc[0,'a'] 2287\n",
      "list(a)[0]: 2287 time: 0.08823370933532715 lenp(ha): 0.43061942115228563 rate: 0.013369073227035767 i: 715 ha.loc[0,'a'] 3267\n",
      "list(a)[0]: 3267 time: 0.057684898376464844 lenp(ha): 0.4303489315661347 rate: 0.013349994991963293 i: 716 ha.loc[0,'a'] 8597\n",
      "list(a)[0]: 8597 time: 0.08171725273132324 lenp(ha): 0.4300784419799838 rate: 0.01333091675689082 i: 717 ha.loc[0,'a'] 4382\n",
      "list(a)[0]: 4382 time: 0.03559446334838867 lenp(ha): 0.42980795239383285 rate: 0.013311838521818347 i: 718 ha.loc[0,'a'] 1975\n",
      "list(a)[0]: 1975 time: 0.052672624588012695 lenp(ha): 0.4295374628076819 rate: 0.013292760286745873 i: 719 ha.loc[0,'a'] 5675\n",
      "list(a)[0]: 5675 time: 0.06968450546264648 lenp(ha): 0.42926697322153096 rate: 0.0132736820516734 i: 720 ha.loc[0,'a'] 1034\n",
      "list(a)[0]: 1034 time: 0.06366920471191406 lenp(ha): 0.42899648363538 rate: 0.013254603816600926 i: 721 ha.loc[0,'a'] 1969\n",
      "list(a)[0]: 1969 time: 0.05664968490600586 lenp(ha): 0.4287259940492291 rate: 0.013235525581528454 i: 722 ha.loc[0,'a'] 7259\n",
      "list(a)[0]: 7259 time: 0.07570028305053711 lenp(ha): 0.4284555044630782 rate: 0.01321644734645598 i: 723 ha.loc[0,'a'] 2679\n",
      "list(a)[0]: 2679 time: 0.052138328552246094 lenp(ha): 0.42818501487692723 rate: 0.013197369111383505 i: 724 ha.loc[0,'a'] 7101\n",
      "list(a)[0]: 7101 time: 0.07820940017700195 lenp(ha): 0.4279145252907763 rate: 0.013178290876311033 i: 725 ha.loc[0,'a'] 7919\n",
      "list(a)[0]: 7919 time: 0.06517314910888672 lenp(ha): 0.4276440357046254 rate: 0.013159212641238559 i: 726 ha.loc[0,'a'] 6299\n",
      "list(a)[0]: 6299 time: 0.06517434120178223 lenp(ha): 0.42737354611847445 rate: 0.013140134406166086 i: 727 ha.loc[0,'a'] 3136\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3136 time: 0.09776163101196289 lenp(ha): 0.42683256694617255 rate: 0.013116286612325494 i: 728 ha.loc[0,'a'] 1639\n",
      "list(a)[0]: 1639 time: 0.07470035552978516 lenp(ha): 0.42656207736002166 rate: 0.01309720837725302 i: 729 ha.loc[0,'a'] 1916\n",
      "list(a)[0]: 1916 time: 0.05514836311340332 lenp(ha): 0.4262915877738707 rate: 0.013078130142180547 i: 730 ha.loc[0,'a'] 731\n",
      "list(a)[0]: 731 time: 0.08221864700317383 lenp(ha): 0.42602109818771977 rate: 0.013059051907108073 i: 731 ha.loc[0,'a'] 6900\n",
      "list(a)[0]: 6900 time: 0.09074091911315918 lenp(ha): 0.4257506086015688 rate: 0.0130399736720356 i: 732 ha.loc[0,'a'] 4087\n",
      "list(a)[0]: 4087 time: 0.04862856864929199 lenp(ha): 0.4254801190154179 rate: 0.013020895436963126 i: 733 ha.loc[0,'a'] 7268\n",
      "list(a)[0]: 7268 time: 0.06767964363098145 lenp(ha): 0.425209629429267 rate: 0.013001817201890652 i: 734 ha.loc[0,'a'] 6278\n",
      "list(a)[0]: 6278 time: 0.06617164611816406 lenp(ha): 0.42493913984311604 rate: 0.01298273896681818 i: 735 ha.loc[0,'a'] 2707\n",
      "list(a)[0]: 2707 time: 0.07273983955383301 lenp(ha): 0.4246686502569651 rate: 0.012963660731745706 i: 736 ha.loc[0,'a'] 3862\n",
      "list(a)[0]: 3862 time: 0.0691831111907959 lenp(ha): 0.42439816067081415 rate: 0.012944582496673233 i: 737 ha.loc[0,'a'] 3820\n",
      "list(a)[0]: 3820 time: 0.059656620025634766 lenp(ha): 0.42412767108466326 rate: 0.01292550426160076 i: 738 ha.loc[0,'a'] 1534\n",
      "list(a)[0]: 1534 time: 0.0621647834777832 lenp(ha): 0.4238571814985123 rate: 0.012906426026528285 i: 739 ha.loc[0,'a'] 7086\n",
      "list(a)[0]: 7086 time: 0.08272051811218262 lenp(ha): 0.42358669191236137 rate: 0.012887347791455813 i: 740 ha.loc[0,'a'] 5696\n",
      "list(a)[0]: 5696 time: 0.14739251136779785 lenp(ha): 0.42304571274005953 rate: 0.012853960880078985 i: 741 ha.loc[0,'a'] 6630\n",
      "list(a)[0]: 6630 time: 0.043616294860839844 lenp(ha): 0.4227752231539086 rate: 0.01283488264500651 i: 742 ha.loc[0,'a'] 7758\n",
      "list(a)[0]: 7758 time: 0.054646968841552734 lenp(ha): 0.42250473356775764 rate: 0.012815804409934036 i: 743 ha.loc[0,'a'] 6251\n",
      "list(a)[0]: 6251 time: 0.05464506149291992 lenp(ha): 0.4222342439816067 rate: 0.012796726174861564 i: 744 ha.loc[0,'a'] 4664\n",
      "list(a)[0]: 4664 time: 0.06517171859741211 lenp(ha): 0.42196375439545575 rate: 0.01277764793978909 i: 745 ha.loc[0,'a'] 5367\n",
      "list(a)[0]: 5367 time: 0.19551992416381836 lenp(ha): 0.42115228563700297 rate: 0.012729952352107906 i: 746 ha.loc[0,'a'] 3364\n",
      "list(a)[0]: 3364 time: 0.07169222831726074 lenp(ha): 0.420881796050852 rate: 0.012710874117035434 i: 747 ha.loc[0,'a'] 1118\n",
      "list(a)[0]: 1118 time: 0.03510618209838867 lenp(ha): 0.42061130646470113 rate: 0.01269179588196296 i: 748 ha.loc[0,'a'] 3833\n",
      "list(a)[0]: 3833 time: 0.08923721313476562 lenp(ha): 0.4203408168785502 rate: 0.012672717646890486 i: 749 ha.loc[0,'a'] 1931\n",
      "list(a)[0]: 1931 time: 0.057654619216918945 lenp(ha): 0.42007032729239924 rate: 0.012653639411818013 i: 750 ha.loc[0,'a'] 1187\n",
      "list(a)[0]: 1187 time: 0.06266617774963379 lenp(ha): 0.4197998377062483 rate: 0.012634561176745539 i: 751 ha.loc[0,'a'] 4669\n",
      "list(a)[0]: 4669 time: 0.04411816596984863 lenp(ha): 0.4195293481200974 rate: 0.012615482941673067 i: 752 ha.loc[0,'a'] 3698\n",
      "list(a)[0]: 3698 time: 0.06266665458679199 lenp(ha): 0.41925885853394645 rate: 0.012596404706600593 i: 753 ha.loc[0,'a'] 7986\n",
      "list(a)[0]: 7986 time: 0.06918478012084961 lenp(ha): 0.4189883689477955 rate: 0.012577326471528118 i: 754 ha.loc[0,'a'] 8636\n",
      "list(a)[0]: 8636 time: 0.07118940353393555 lenp(ha): 0.41871787936164456 rate: 0.012558248236455646 i: 755 ha.loc[0,'a'] 3702\n",
      "list(a)[0]: 3702 time: 0.07271647453308105 lenp(ha): 0.4184473897754936 rate: 0.012539170001383172 i: 756 ha.loc[0,'a'] 7322\n",
      "list(a)[0]: 7322 time: 0.05113506317138672 lenp(ha): 0.4181769001893427 rate: 0.012520091766310698 i: 757 ha.loc[0,'a'] 6300\n",
      "list(a)[0]: 6300 time: 0.10327267646789551 lenp(ha): 0.4179064106031918 rate: 0.012501013531238225 i: 758 ha.loc[0,'a'] 4872\n",
      "list(a)[0]: 4872 time: 0.04812812805175781 lenp(ha): 0.41763592101704083 rate: 0.012481935296165751 i: 759 ha.loc[0,'a'] 7853\n",
      "list(a)[0]: 7853 time: 0.0621647834777832 lenp(ha): 0.4173654314308899 rate: 0.012462857061093279 i: 760 ha.loc[0,'a'] 6954\n",
      "list(a)[0]: 6954 time: 0.06316757202148438 lenp(ha): 0.417094941844739 rate: 0.012443778826020805 i: 761 ha.loc[0,'a'] 5960\n",
      "list(a)[0]: 5960 time: 0.04311347007751465 lenp(ha): 0.41682445225858805 rate: 0.01242470059094833 i: 762 ha.loc[0,'a'] 7609\n",
      "list(a)[0]: 7609 time: 0.0726926326751709 lenp(ha): 0.4165539626724371 rate: 0.012405622355875858 i: 763 ha.loc[0,'a'] 6747\n",
      "list(a)[0]: 6747 time: 0.07118844985961914 lenp(ha): 0.41628347308628616 rate: 0.012386544120803384 i: 764 ha.loc[0,'a'] 4163\n",
      "list(a)[0]: 4163 time: 0.06821060180664062 lenp(ha): 0.41601298350013527 rate: 0.012367465885730912 i: 765 ha.loc[0,'a'] 6684\n",
      "list(a)[0]: 6684 time: 0.08773446083068848 lenp(ha): 0.4157424939139843 rate: 0.012348387650658437 i: 766 ha.loc[0,'a'] 8679\n",
      "list(a)[0]: 8679 time: 0.07519745826721191 lenp(ha): 0.4154720043278334 rate: 0.012329309415585963 i: 767 ha.loc[0,'a'] 6996\n",
      "list(a)[0]: 6996 time: 0.04461836814880371 lenp(ha): 0.41520151474168243 rate: 0.012310231180513491 i: 768 ha.loc[0,'a'] 8610\n",
      "list(a)[0]: 8610 time: 0.06166338920593262 lenp(ha): 0.4149310251555315 rate: 0.012291152945441017 i: 769 ha.loc[0,'a'] 7949\n",
      "list(a)[0]: 7949 time: 0.10828828811645508 lenp(ha): 0.41439004598322965 rate: 0.012267305151600426 i: 770 ha.loc[0,'a'] 7562\n",
      "list(a)[0]: 7562 time: 0.11928081512451172 lenp(ha): 0.41384906681092776 rate: 0.012233918240223596 i: 771 ha.loc[0,'a'] 3143\n",
      "list(a)[0]: 3143 time: 0.07169032096862793 lenp(ha): 0.41357857722477687 rate: 0.012214840005151124 i: 772 ha.loc[0,'a'] 8620\n",
      "list(a)[0]: 8620 time: 0.06818175315856934 lenp(ha): 0.4133080876386259 rate: 0.01219576177007865 i: 773 ha.loc[0,'a'] 4986\n",
      "list(a)[0]: 4986 time: 0.06968522071838379 lenp(ha): 0.413037598052475 rate: 0.012176683535006177 i: 774 ha.loc[0,'a'] 1540\n",
      "list(a)[0]: 1540 time: 0.09625601768493652 lenp(ha): 0.41276710846632403 rate: 0.012157605299933703 i: 775 ha.loc[0,'a'] 6607\n",
      "list(a)[0]: 6607 time: 0.07720541954040527 lenp(ha): 0.41249661888017314 rate: 0.012138527064861229 i: 776 ha.loc[0,'a'] 5598\n",
      "list(a)[0]: 5598 time: 0.06918454170227051 lenp(ha): 0.4122261292940222 rate: 0.012119448829788756 i: 777 ha.loc[0,'a'] 2912\n",
      "list(a)[0]: 2912 time: 0.06015920639038086 lenp(ha): 0.41195563970787125 rate: 0.012100370594716282 i: 778 ha.loc[0,'a'] 2170\n",
      "list(a)[0]: 2170 time: 0.08572793006896973 lenp(ha): 0.4116851501217203 rate: 0.01208129235964381 i: 779 ha.loc[0,'a'] 8336\n",
      "list(a)[0]: 8336 time: 0.05614900588989258 lenp(ha): 0.41141466053556935 rate: 0.012062214124571336 i: 780 ha.loc[0,'a'] 2005\n",
      "list(a)[0]: 2005 time: 0.07972478866577148 lenp(ha): 0.41114417094941846 rate: 0.012043135889498862 i: 781 ha.loc[0,'a'] 5442\n",
      "list(a)[0]: 5442 time: 0.05715012550354004 lenp(ha): 0.4108736813632675 rate: 0.012028827213194508 i: 782 ha.loc[0,'a'] 3760\n",
      "list(a)[0]: 3760 time: 0.057654380798339844 lenp(ha): 0.41060319177711657 rate: 0.012014518536890152 i: 783 ha.loc[0,'a'] 7892\n",
      "list(a)[0]: 7892 time: 0.06517243385314941 lenp(ha): 0.4103327021909656 rate: 0.012000209860585797 i: 784 ha.loc[0,'a'] 3921\n",
      "list(a)[0]: 3921 time: 0.06166481971740723 lenp(ha): 0.41006221260481474 rate: 0.011985901184281443 i: 785 ha.loc[0,'a'] 4299\n",
      "list(a)[0]: 4299 time: 0.040607452392578125 lenp(ha): 0.4097917230186638 rate: 0.011971592507977087 i: 786 ha.loc[0,'a'] 430\n",
      "list(a)[0]: 430 time: 0.06868195533752441 lenp(ha): 0.40952123343251284 rate: 0.011957283831672732 i: 787 ha.loc[0,'a'] 2472\n",
      "list(a)[0]: 2472 time: 0.056650400161743164 lenp(ha): 0.4092507438463619 rate: 0.011942975155368378 i: 788 ha.loc[0,'a'] 7180\n",
      "list(a)[0]: 7180 time: 0.04261326789855957 lenp(ha): 0.408980254260211 rate: 0.011928666479064022 i: 789 ha.loc[0,'a'] 3771\n",
      "list(a)[0]: 3771 time: 0.05213809013366699 lenp(ha): 0.40870976467406006 rate: 0.011914357802759666 i: 790 ha.loc[0,'a'] 3071\n",
      "list(a)[0]: 3071 time: 0.06066107749938965 lenp(ha): 0.4084392750879091 rate: 0.01190004912645531 i: 791 ha.loc[0,'a'] 6297\n",
      "list(a)[0]: 6297 time: 0.05213737487792969 lenp(ha): 0.40816878550175817 rate: 0.011885740450150957 i: 792 ha.loc[0,'a'] 7881\n",
      "list(a)[0]: 7881 time: 0.05364203453063965 lenp(ha): 0.4078982959156072 rate: 0.011871431773846601 i: 793 ha.loc[0,'a'] 5736\n",
      "list(a)[0]: 5736 time: 0.0521388053894043 lenp(ha): 0.40762780632945633 rate: 0.011857123097542246 i: 794 ha.loc[0,'a'] 3089\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3089 time: 0.048628807067871094 lenp(ha): 0.4073573167433054 rate: 0.011842814421237892 i: 795 ha.loc[0,'a'] 8384\n",
      "list(a)[0]: 8384 time: 0.03860330581665039 lenp(ha): 0.40708682715715444 rate: 0.011828505744933536 i: 796 ha.loc[0,'a'] 1832\n",
      "list(a)[0]: 1832 time: 0.04963421821594238 lenp(ha): 0.4068163375710035 rate: 0.01181419706862918 i: 797 ha.loc[0,'a'] 2266\n",
      "list(a)[0]: 2266 time: 0.0486295223236084 lenp(ha): 0.4065458479848526 rate: 0.011799888392324827 i: 798 ha.loc[0,'a'] 3462\n",
      "list(a)[0]: 3462 time: 0.046154022216796875 lenp(ha): 0.40627535839870166 rate: 0.011785579716020471 i: 799 ha.loc[0,'a'] 8722\n",
      "list(a)[0]: 8722 time: 0.06066274642944336 lenp(ha): 0.4060048688125507 rate: 0.011771271039716116 i: 800 ha.loc[0,'a'] 6322\n",
      "list(a)[0]: 6322 time: 0.030081510543823242 lenp(ha): 0.40573437922639977 rate: 0.01175696236341176 i: 801 ha.loc[0,'a'] 4395\n",
      "list(a)[0]: 4395 time: 0.0521395206451416 lenp(ha): 0.4054638896402489 rate: 0.011742653687107406 i: 802 ha.loc[0,'a'] 2755\n",
      "list(a)[0]: 2755 time: 0.049132347106933594 lenp(ha): 0.40519340005409793 rate: 0.01172834501080305 i: 803 ha.loc[0,'a'] 8672\n",
      "list(a)[0]: 8672 time: 0.05414390563964844 lenp(ha): 0.404922910467947 rate: 0.011714036334498695 i: 804 ha.loc[0,'a'] 4006\n",
      "list(a)[0]: 4006 time: 0.06417012214660645 lenp(ha): 0.40465242088179604 rate: 0.011699727658194341 i: 805 ha.loc[0,'a'] 4364\n",
      "list(a)[0]: 4364 time: 0.04762458801269531 lenp(ha): 0.4043819312956451 rate: 0.011685418981889985 i: 806 ha.loc[0,'a'] 2311\n",
      "list(a)[0]: 2311 time: 0.05317401885986328 lenp(ha): 0.4041114417094942 rate: 0.01167111030558563 i: 807 ha.loc[0,'a'] 160\n",
      "list(a)[0]: 160 time: 0.03358292579650879 lenp(ha): 0.40384095212334326 rate: 0.011656801629281276 i: 808 ha.loc[0,'a'] 8155\n",
      "list(a)[0]: 8155 time: 0.05815529823303223 lenp(ha): 0.4035704625371923 rate: 0.01164249295297692 i: 809 ha.loc[0,'a'] 6457\n",
      "list(a)[0]: 6457 time: 0.050633907318115234 lenp(ha): 0.40329997295104136 rate: 0.011628184276672565 i: 810 ha.loc[0,'a'] 3813\n",
      "list(a)[0]: 3813 time: 0.04261326789855957 lenp(ha): 0.4030294833648905 rate: 0.01161387560036821 i: 811 ha.loc[0,'a'] 5081\n",
      "list(a)[0]: 5081 time: 0.05263948440551758 lenp(ha): 0.4027589937787395 rate: 0.011599566924063855 i: 812 ha.loc[0,'a'] 330\n",
      "list(a)[0]: 330 time: 0.10477924346923828 lenp(ha): 0.40221801460643763 rate: 0.011570949571455144 i: 813 ha.loc[0,'a'] 7772\n",
      "list(a)[0]: 7772 time: 0.053141117095947266 lenp(ha): 0.40194752502028674 rate: 0.01155664089515079 i: 814 ha.loc[0,'a'] 4716\n",
      "list(a)[0]: 4716 time: 0.07469773292541504 lenp(ha): 0.4016770354341358 rate: 0.011542332218846435 i: 815 ha.loc[0,'a'] 3282\n",
      "list(a)[0]: 3282 time: 0.04010486602783203 lenp(ha): 0.40140654584798485 rate: 0.011532793101310198 i: 816 ha.loc[0,'a'] 3693\n",
      "list(a)[0]: 3693 time: 0.0381007194519043 lenp(ha): 0.4011360562618339 rate: 0.011518484425005842 i: 817 ha.loc[0,'a'] 5688\n",
      "list(a)[0]: 5688 time: 0.05364513397216797 lenp(ha): 0.40086556667568296 rate: 0.011504175748701488 i: 818 ha.loc[0,'a'] 6006\n",
      "list(a)[0]: 6006 time: 0.04815244674682617 lenp(ha): 0.40059507708953207 rate: 0.011489867072397133 i: 819 ha.loc[0,'a'] 1851\n",
      "list(a)[0]: 1851 time: 0.04662156105041504 lenp(ha): 0.4003245875033811 rate: 0.011475558396092777 i: 820 ha.loc[0,'a'] 553\n",
      "list(a)[0]: 553 time: 0.029044389724731445 lenp(ha): 0.4000540979172302 rate: 0.011461249719788423 i: 821 ha.loc[0,'a'] 6125\n",
      "list(a)[0]: 6125 time: 0.0626683235168457 lenp(ha): 0.39978360833107923 rate: 0.011446941043484067 i: 822 ha.loc[0,'a'] 61\n",
      "list(a)[0]: 61 time: 0.031585693359375 lenp(ha): 0.39951311874492834 rate: 0.011432632367179712 i: 823 ha.loc[0,'a'] 1106\n",
      "list(a)[0]: 1106 time: 0.03760123252868652 lenp(ha): 0.3992426291587774 rate: 0.011418323690875358 i: 824 ha.loc[0,'a'] 7396\n",
      "list(a)[0]: 7396 time: 0.06818318367004395 lenp(ha): 0.39897213957262645 rate: 0.011404015014571002 i: 825 ha.loc[0,'a'] 926\n",
      "list(a)[0]: 926 time: 0.04812788963317871 lenp(ha): 0.3987016499864755 rate: 0.011389706338266647 i: 826 ha.loc[0,'a'] 2055\n",
      "list(a)[0]: 2055 time: 0.05665111541748047 lenp(ha): 0.3984311604003246 rate: 0.011375397661962291 i: 827 ha.loc[0,'a'] 1357\n",
      "list(a)[0]: 1357 time: 0.04461836814880371 lenp(ha): 0.39816067081417367 rate: 0.011361088985657937 i: 828 ha.loc[0,'a'] 1136\n",
      "list(a)[0]: 1136 time: 0.05568218231201172 lenp(ha): 0.3978901812280227 rate: 0.011346780309353582 i: 829 ha.loc[0,'a'] 4401\n",
      "list(a)[0]: 4401 time: 0.037097930908203125 lenp(ha): 0.3976196916418718 rate: 0.011332471633049226 i: 830 ha.loc[0,'a'] 5159\n",
      "list(a)[0]: 5159 time: 0.05965876579284668 lenp(ha): 0.39734920205572083 rate: 0.011318162956744872 i: 831 ha.loc[0,'a'] 8799\n",
      "list(a)[0]: 8799 time: 0.0556797981262207 lenp(ha): 0.39707871246956994 rate: 0.011303854280440517 i: 832 ha.loc[0,'a'] 7958\n",
      "list(a)[0]: 7958 time: 0.03412151336669922 lenp(ha): 0.396808222883419 rate: 0.011289545604136161 i: 833 ha.loc[0,'a'] 5630\n",
      "list(a)[0]: 5630 time: 0.03810262680053711 lenp(ha): 0.39653773329726805 rate: 0.011275236927831805 i: 834 ha.loc[0,'a'] 3960\n",
      "list(a)[0]: 3960 time: 0.09976506233215332 lenp(ha): 0.3959967541249662 rate: 0.011256158692759333 i: 835 ha.loc[0,'a'] 2449\n",
      "list(a)[0]: 2449 time: 0.046122074127197266 lenp(ha): 0.39572626453881526 rate: 0.011241850016454977 i: 836 ha.loc[0,'a'] 746\n",
      "list(a)[0]: 746 time: 0.05063462257385254 lenp(ha): 0.3954557749526643 rate: 0.011227541340150622 i: 837 ha.loc[0,'a'] 5301\n",
      "list(a)[0]: 5301 time: 0.0556950569152832 lenp(ha): 0.3951852853665134 rate: 0.011213232663846268 i: 838 ha.loc[0,'a'] 923\n",
      "list(a)[0]: 923 time: 0.04715323448181152 lenp(ha): 0.3949147957803625 rate: 0.011198923987541912 i: 839 ha.loc[0,'a'] 5232\n",
      "list(a)[0]: 5232 time: 0.06517338752746582 lenp(ha): 0.39464430619421154 rate: 0.011184615311237557 i: 840 ha.loc[0,'a'] 6559\n",
      "list(a)[0]: 6559 time: 0.06567239761352539 lenp(ha): 0.3943738166080606 rate: 0.011170306634933203 i: 841 ha.loc[0,'a'] 6680\n",
      "list(a)[0]: 6680 time: 0.0591580867767334 lenp(ha): 0.39410332702190964 rate: 0.011155997958628847 i: 842 ha.loc[0,'a'] 7298\n",
      "list(a)[0]: 7298 time: 0.04915785789489746 lenp(ha): 0.3938328374357587 rate: 0.011141689282324492 i: 843 ha.loc[0,'a'] 4237\n",
      "list(a)[0]: 4237 time: 0.04211163520812988 lenp(ha): 0.3935623478496078 rate: 0.011127380606020138 i: 844 ha.loc[0,'a'] 2091\n",
      "list(a)[0]: 2091 time: 0.05063319206237793 lenp(ha): 0.39329185826345686 rate: 0.011113071929715782 i: 845 ha.loc[0,'a'] 4417\n",
      "list(a)[0]: 4417 time: 0.0586550235748291 lenp(ha): 0.3930213686773059 rate: 0.011098763253411427 i: 846 ha.loc[0,'a'] 6028\n",
      "list(a)[0]: 6028 time: 0.06266617774963379 lenp(ha): 0.39275087909115497 rate: 0.011084454577107071 i: 847 ha.loc[0,'a'] 5027\n",
      "list(a)[0]: 5027 time: 0.04662442207336426 lenp(ha): 0.3924803895050041 rate: 0.011070145900802717 i: 848 ha.loc[0,'a'] 6529\n",
      "list(a)[0]: 6529 time: 0.0626673698425293 lenp(ha): 0.39220989991885313 rate: 0.011055837224498362 i: 849 ha.loc[0,'a'] 6627\n",
      "list(a)[0]: 6627 time: 0.052640438079833984 lenp(ha): 0.3919394103327022 rate: 0.011041528548194006 i: 850 ha.loc[0,'a'] 614\n",
      "list(a)[0]: 614 time: 0.07219123840332031 lenp(ha): 0.39166892074655124 rate: 0.011027219871889652 i: 851 ha.loc[0,'a'] 4428\n",
      "list(a)[0]: 4428 time: 0.048631906509399414 lenp(ha): 0.39139843116040035 rate: 0.011012911195585296 i: 852 ha.loc[0,'a'] 4211\n",
      "list(a)[0]: 4211 time: 0.055146217346191406 lenp(ha): 0.3911279415742494 rate: 0.01099860251928094 i: 853 ha.loc[0,'a'] 4960\n",
      "list(a)[0]: 4960 time: 0.057654619216918945 lenp(ha): 0.39085745198809846 rate: 0.010984293842976587 i: 854 ha.loc[0,'a'] 4202\n",
      "list(a)[0]: 4202 time: 0.07271003723144531 lenp(ha): 0.3905869624019475 rate: 0.010969985166672231 i: 855 ha.loc[0,'a'] 105\n",
      "list(a)[0]: 105 time: 0.0350949764251709 lenp(ha): 0.39031647281579657 rate: 0.010955676490367876 i: 856 ha.loc[0,'a'] 4538\n",
      "list(a)[0]: 4538 time: 0.03810429573059082 lenp(ha): 0.3900459832296457 rate: 0.01094136781406352 i: 857 ha.loc[0,'a'] 6794\n",
      "list(a)[0]: 6794 time: 0.04211139678955078 lenp(ha): 0.38977549364349473 rate: 0.010927059137759166 i: 858 ha.loc[0,'a'] 5992\n",
      "list(a)[0]: 5992 time: 0.03659677505493164 lenp(ha): 0.3895050040573438 rate: 0.01091275046145481 i: 859 ha.loc[0,'a'] 3095\n",
      "list(a)[0]: 3095 time: 0.038603782653808594 lenp(ha): 0.38923451447119284 rate: 0.010898441785150455 i: 860 ha.loc[0,'a'] 6100\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 6100 time: 0.04762721061706543 lenp(ha): 0.38896402488504195 rate: 0.010884133108846101 i: 861 ha.loc[0,'a'] 646\n",
      "list(a)[0]: 646 time: 0.04762697219848633 lenp(ha): 0.388693535298891 rate: 0.010869824432541746 i: 862 ha.loc[0,'a'] 6224\n",
      "list(a)[0]: 6224 time: 0.031082868576049805 lenp(ha): 0.38842304571274006 rate: 0.01085551575623739 i: 863 ha.loc[0,'a'] 2665\n",
      "list(a)[0]: 2665 time: 0.05113363265991211 lenp(ha): 0.3881525561265891 rate: 0.010841207079933036 i: 864 ha.loc[0,'a'] 7146\n",
      "list(a)[0]: 7146 time: 0.04110836982727051 lenp(ha): 0.3878820665404382 rate: 0.01082689840362868 i: 865 ha.loc[0,'a'] 555\n",
      "list(a)[0]: 555 time: 0.06968474388122559 lenp(ha): 0.3876115769542873 rate: 0.010812589727324325 i: 866 ha.loc[0,'a'] 6465\n",
      "list(a)[0]: 6465 time: 0.0586545467376709 lenp(ha): 0.3873410873681363 rate: 0.01079828105101997 i: 867 ha.loc[0,'a'] 5237\n",
      "list(a)[0]: 5237 time: 0.04615044593811035 lenp(ha): 0.3870705977819854 rate: 0.010783972374715615 i: 868 ha.loc[0,'a'] 3253\n",
      "list(a)[0]: 3253 time: 0.06818056106567383 lenp(ha): 0.38680010819583444 rate: 0.01076966369841126 i: 869 ha.loc[0,'a'] 4074\n",
      "list(a)[0]: 4074 time: 0.11580801010131836 lenp(ha): 0.3862591290235326 rate: 0.01074104634580255 i: 870 ha.loc[0,'a'] 2692\n",
      "list(a)[0]: 2692 time: 0.05364203453063965 lenp(ha): 0.38598863943738165 rate: 0.010726737669498195 i: 871 ha.loc[0,'a'] 5536\n",
      "list(a)[0]: 5536 time: 0.07068729400634766 lenp(ha): 0.3857181498512307 rate: 0.01071242899319384 i: 872 ha.loc[0,'a'] 6871\n",
      "list(a)[0]: 6871 time: 0.04461836814880371 lenp(ha): 0.3854476602650798 rate: 0.010698120316889485 i: 873 ha.loc[0,'a'] 8711\n",
      "list(a)[0]: 8711 time: 0.03612518310546875 lenp(ha): 0.38517717067892887 rate: 0.01068381164058513 i: 874 ha.loc[0,'a'] 3160\n",
      "list(a)[0]: 3160 time: 0.05564713478088379 lenp(ha): 0.3849066810927779 rate: 0.010669502964280774 i: 875 ha.loc[0,'a'] 1279\n",
      "list(a)[0]: 1279 time: 0.05715179443359375 lenp(ha): 0.384636191506627 rate: 0.010655194287976419 i: 876 ha.loc[0,'a'] 7048\n",
      "list(a)[0]: 7048 time: 0.05364227294921875 lenp(ha): 0.3843657019204761 rate: 0.010640885611672065 i: 877 ha.loc[0,'a'] 44\n",
      "list(a)[0]: 44 time: 0.049631357192993164 lenp(ha): 0.38409521233432514 rate: 0.010626576935367709 i: 878 ha.loc[0,'a'] 8705\n",
      "list(a)[0]: 8705 time: 0.05063462257385254 lenp(ha): 0.3838247227481742 rate: 0.010612268259063353 i: 879 ha.loc[0,'a'] 40\n",
      "list(a)[0]: 40 time: 0.05464601516723633 lenp(ha): 0.38355423316202325 rate: 0.010597959582759 i: 880 ha.loc[0,'a'] 4974\n",
      "list(a)[0]: 4974 time: 0.06116461753845215 lenp(ha): 0.3832837435758723 rate: 0.010583650906454644 i: 881 ha.loc[0,'a'] 4265\n",
      "list(a)[0]: 4265 time: 0.05614972114562988 lenp(ha): 0.3830132539897214 rate: 0.010569342230150288 i: 882 ha.loc[0,'a'] 8837\n",
      "list(a)[0]: 8837 time: 0.0491335391998291 lenp(ha): 0.38274276440357047 rate: 0.010555033553845935 i: 883 ha.loc[0,'a'] 506\n",
      "list(a)[0]: 506 time: 0.03860306739807129 lenp(ha): 0.3824722748174195 rate: 0.010540724877541579 i: 884 ha.loc[0,'a'] 6889\n",
      "list(a)[0]: 6889 time: 0.05915641784667969 lenp(ha): 0.3822017852312686 rate: 0.010526416201237223 i: 885 ha.loc[0,'a'] 6312\n",
      "list(a)[0]: 6312 time: 0.06366968154907227 lenp(ha): 0.3819312956451177 rate: 0.010512107524932868 i: 886 ha.loc[0,'a'] 5907\n",
      "list(a)[0]: 5907 time: 0.04762673377990723 lenp(ha): 0.38166080605896674 rate: 0.010497798848628514 i: 887 ha.loc[0,'a'] 7196\n",
      "list(a)[0]: 7196 time: 0.047627925872802734 lenp(ha): 0.3813903164728158 rate: 0.010483490172324158 i: 888 ha.loc[0,'a'] 8807\n",
      "list(a)[0]: 8807 time: 0.055648088455200195 lenp(ha): 0.38111982688666485 rate: 0.010469181496019803 i: 889 ha.loc[0,'a'] 8220\n",
      "list(a)[0]: 8220 time: 0.05313992500305176 lenp(ha): 0.38084933730051396 rate: 0.010454872819715449 i: 890 ha.loc[0,'a'] 8323\n",
      "list(a)[0]: 8323 time: 0.04913043975830078 lenp(ha): 0.380578847714363 rate: 0.010440564143411093 i: 891 ha.loc[0,'a'] 6356\n",
      "list(a)[0]: 6356 time: 0.045621633529663086 lenp(ha): 0.38030835812821207 rate: 0.010426255467106738 i: 892 ha.loc[0,'a'] 7944\n",
      "list(a)[0]: 7944 time: 0.056177377700805664 lenp(ha): 0.3800378685420611 rate: 0.010411946790802384 i: 893 ha.loc[0,'a'] 8828\n",
      "list(a)[0]: 8828 time: 0.03312087059020996 lenp(ha): 0.3797673789559102 rate: 0.010397638114498028 i: 894 ha.loc[0,'a'] 339\n",
      "list(a)[0]: 339 time: 0.03612661361694336 lenp(ha): 0.3794968893697593 rate: 0.010383329438193672 i: 895 ha.loc[0,'a'] 6537\n",
      "list(a)[0]: 6537 time: 0.060158491134643555 lenp(ha): 0.37922639978360834 rate: 0.010369020761889317 i: 896 ha.loc[0,'a'] 6753\n",
      "list(a)[0]: 6753 time: 0.055145978927612305 lenp(ha): 0.3789559101974574 rate: 0.010354712085584963 i: 897 ha.loc[0,'a'] 786\n",
      "list(a)[0]: 786 time: 0.057150840759277344 lenp(ha): 0.37868542061130644 rate: 0.010340403409280607 i: 898 ha.loc[0,'a'] 7834\n",
      "list(a)[0]: 7834 time: 0.07018494606018066 lenp(ha): 0.37841493102515555 rate: 0.010326094732976252 i: 899 ha.loc[0,'a'] 2552\n",
      "list(a)[0]: 2552 time: 0.02957892417907715 lenp(ha): 0.3781444414390046 rate: 0.010311786056671898 i: 900 ha.loc[0,'a'] 2153\n",
      "list(a)[0]: 2153 time: 0.05367422103881836 lenp(ha): 0.37787395185285366 rate: 0.010297477380367542 i: 901 ha.loc[0,'a'] 1174\n",
      "list(a)[0]: 1174 time: 0.052170753479003906 lenp(ha): 0.3776034622667027 rate: 0.010283168704063187 i: 902 ha.loc[0,'a'] 6302\n",
      "list(a)[0]: 6302 time: 0.05360913276672363 lenp(ha): 0.3773329726805518 rate: 0.010268860027758833 i: 903 ha.loc[0,'a'] 2873\n",
      "list(a)[0]: 2873 time: 0.03960824012756348 lenp(ha): 0.3770624830944009 rate: 0.010254551351454477 i: 904 ha.loc[0,'a'] 4180\n",
      "list(a)[0]: 4180 time: 0.05263924598693848 lenp(ha): 0.37679199350824993 rate: 0.010240242675150122 i: 905 ha.loc[0,'a'] 8041\n",
      "list(a)[0]: 8041 time: 0.07770657539367676 lenp(ha): 0.376521503922099 rate: 0.010225933998845766 i: 906 ha.loc[0,'a'] 1439\n",
      "list(a)[0]: 1439 time: 0.05815410614013672 lenp(ha): 0.37625101433594804 rate: 0.010211625322541412 i: 907 ha.loc[0,'a'] 6184\n",
      "list(a)[0]: 6184 time: 0.06016230583190918 lenp(ha): 0.37598052474979715 rate: 0.010197316646237057 i: 908 ha.loc[0,'a'] 5996\n",
      "list(a)[0]: 5996 time: 0.03661012649536133 lenp(ha): 0.3757100351636462 rate: 0.010183007969932701 i: 909 ha.loc[0,'a'] 7899\n",
      "list(a)[0]: 7899 time: 0.03559541702270508 lenp(ha): 0.37543954557749526 rate: 0.010168699293628347 i: 910 ha.loc[0,'a'] 2173\n",
      "list(a)[0]: 2173 time: 0.05364060401916504 lenp(ha): 0.3751690559913443 rate: 0.010154390617323992 i: 911 ha.loc[0,'a'] 4438\n",
      "list(a)[0]: 4438 time: 0.06069040298461914 lenp(ha): 0.3748985664051934 rate: 0.010140081941019636 i: 912 ha.loc[0,'a'] 929\n",
      "list(a)[0]: 929 time: 0.0551455020904541 lenp(ha): 0.3746280768190425 rate: 0.010125773264715282 i: 913 ha.loc[0,'a'] 665\n",
      "list(a)[0]: 665 time: 0.059156179428100586 lenp(ha): 0.37435758723289153 rate: 0.010111464588410926 i: 914 ha.loc[0,'a'] 3617\n",
      "list(a)[0]: 3617 time: 0.05467700958251953 lenp(ha): 0.3740870976467406 rate: 0.01009715591210657 i: 915 ha.loc[0,'a'] 7785\n",
      "list(a)[0]: 7785 time: 0.07470011711120605 lenp(ha): 0.3738166080605897 rate: 0.010082847235802215 i: 916 ha.loc[0,'a'] 8205\n",
      "list(a)[0]: 8205 time: 0.054143428802490234 lenp(ha): 0.37354611847443875 rate: 0.010068538559497861 i: 917 ha.loc[0,'a'] 74\n",
      "list(a)[0]: 74 time: 0.06166338920593262 lenp(ha): 0.3732756288882878 rate: 0.010054229883193506 i: 918 ha.loc[0,'a'] 7319\n",
      "list(a)[0]: 7319 time: 0.05765366554260254 lenp(ha): 0.37300513930213686 rate: 0.01003992120688915 i: 919 ha.loc[0,'a'] 3486\n",
      "list(a)[0]: 3486 time: 0.06517410278320312 lenp(ha): 0.3727346497159859 rate: 0.010025612530584796 i: 920 ha.loc[0,'a'] 3704\n",
      "list(a)[0]: 3704 time: 0.05614972114562988 lenp(ha): 0.372464160129835 rate: 0.01001130385428044 i: 921 ha.loc[0,'a'] 5001\n",
      "list(a)[0]: 5001 time: 0.06166505813598633 lenp(ha): 0.3721936705436841 rate: 0.009996995177976085 i: 922 ha.loc[0,'a'] 1736\n",
      "list(a)[0]: 1736 time: 0.06216740608215332 lenp(ha): 0.37192318095753313 rate: 0.00998268650167173 i: 923 ha.loc[0,'a'] 1275\n",
      "list(a)[0]: 1275 time: 0.05464363098144531 lenp(ha): 0.3716526913713822 rate: 0.009968377825367376 i: 924 ha.loc[0,'a'] 6518\n",
      "list(a)[0]: 6518 time: 0.08823370933532715 lenp(ha): 0.3713822017852313 rate: 0.00995406914906302 i: 925 ha.loc[0,'a'] 6679\n",
      "list(a)[0]: 6679 time: 0.07021832466125488 lenp(ha): 0.37111171219908035 rate: 0.009939760472758664 i: 926 ha.loc[0,'a'] 2988\n",
      "list(a)[0]: 2988 time: 0.05515098571777344 lenp(ha): 0.3708412226129294 rate: 0.00992545179645431 i: 927 ha.loc[0,'a'] 7302\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 7302 time: 0.08171796798706055 lenp(ha): 0.37057073302677845 rate: 0.009911143120149955 i: 928 ha.loc[0,'a'] 5259\n",
      "list(a)[0]: 5259 time: 0.05113673210144043 lenp(ha): 0.37030024344062756 rate: 0.0098968344438456 i: 929 ha.loc[0,'a'] 5192\n",
      "list(a)[0]: 5192 time: 0.08221840858459473 lenp(ha): 0.3700297538544766 rate: 0.009882525767541245 i: 930 ha.loc[0,'a'] 4877\n",
      "list(a)[0]: 4877 time: 0.05113530158996582 lenp(ha): 0.36975926426832567 rate: 0.00986821709123689 i: 931 ha.loc[0,'a'] 6418\n",
      "list(a)[0]: 6418 time: 0.10828709602355957 lenp(ha): 0.3694887746821747 rate: 0.009853908414932534 i: 932 ha.loc[0,'a'] 4855\n",
      "list(a)[0]: 4855 time: 0.04662179946899414 lenp(ha): 0.3692182850960238 rate: 0.009839599738628179 i: 933 ha.loc[0,'a'] 4224\n",
      "list(a)[0]: 4224 time: 0.05815386772155762 lenp(ha): 0.3689477955098729 rate: 0.009825291062323825 i: 934 ha.loc[0,'a'] 7797\n",
      "list(a)[0]: 7797 time: 0.06367039680480957 lenp(ha): 0.36867730592372194 rate: 0.00981098238601947 i: 935 ha.loc[0,'a'] 7182\n",
      "list(a)[0]: 7182 time: 0.03910374641418457 lenp(ha): 0.368406816337571 rate: 0.009796673709715114 i: 936 ha.loc[0,'a'] 4239\n",
      "list(a)[0]: 4239 time: 0.06316757202148438 lenp(ha): 0.36813632675142005 rate: 0.00978236503341076 i: 937 ha.loc[0,'a'] 1845\n",
      "list(a)[0]: 1845 time: 0.04762578010559082 lenp(ha): 0.36786583716526916 rate: 0.009768056357106404 i: 938 ha.loc[0,'a'] 5509\n",
      "list(a)[0]: 5509 time: 0.05765342712402344 lenp(ha): 0.3675953475791182 rate: 0.009753747680802049 i: 939 ha.loc[0,'a'] 8337\n",
      "list(a)[0]: 8337 time: 0.0656743049621582 lenp(ha): 0.36732485799296727 rate: 0.009739439004497695 i: 940 ha.loc[0,'a'] 1213\n",
      "list(a)[0]: 1213 time: 0.0586552619934082 lenp(ha): 0.3670543684068163 rate: 0.009725130328193339 i: 941 ha.loc[0,'a'] 6332\n",
      "list(a)[0]: 6332 time: 0.06717824935913086 lenp(ha): 0.36678387882066543 rate: 0.009710821651888983 i: 942 ha.loc[0,'a'] 1902\n",
      "list(a)[0]: 1902 time: 0.07319402694702148 lenp(ha): 0.3665133892345145 rate: 0.009696512975584628 i: 943 ha.loc[0,'a'] 6936\n",
      "list(a)[0]: 6936 time: 0.06266617774963379 lenp(ha): 0.36624289964836354 rate: 0.009682204299280274 i: 944 ha.loc[0,'a'] 3763\n",
      "list(a)[0]: 3763 time: 0.08472633361816406 lenp(ha): 0.36570192047606165 rate: 0.0096631260642078 i: 945 ha.loc[0,'a'] 638\n",
      "list(a)[0]: 638 time: 0.06266641616821289 lenp(ha): 0.36543143088991076 rate: 0.009648817387903444 i: 946 ha.loc[0,'a'] 4771\n",
      "list(a)[0]: 4771 time: 0.08272027969360352 lenp(ha): 0.3651609413037598 rate: 0.00963450871159909 i: 947 ha.loc[0,'a'] 3401\n",
      "list(a)[0]: 3401 time: 0.07068777084350586 lenp(ha): 0.36489045171760887 rate: 0.009620200035294735 i: 948 ha.loc[0,'a'] 8825\n",
      "list(a)[0]: 8825 time: 0.08723044395446777 lenp(ha): 0.3646199621314579 rate: 0.00960589135899038 i: 949 ha.loc[0,'a'] 2682\n",
      "list(a)[0]: 2682 time: 0.11129593849182129 lenp(ha): 0.3640789829591561 rate: 0.009586813123917907 i: 950 ha.loc[0,'a'] 6090\n",
      "list(a)[0]: 6090 time: 0.0486602783203125 lenp(ha): 0.36380849337300514 rate: 0.009572504447613551 i: 951 ha.loc[0,'a'] 4191\n",
      "list(a)[0]: 4191 time: 0.09425020217895508 lenp(ha): 0.3635380037868542 rate: 0.009558195771309196 i: 952 ha.loc[0,'a'] 7731\n",
      "list(a)[0]: 7731 time: 0.037599802017211914 lenp(ha): 0.36326751420070325 rate: 0.009543887095004842 i: 953 ha.loc[0,'a'] 2754\n",
      "list(a)[0]: 2754 time: 0.0586552619934082 lenp(ha): 0.36299702461455235 rate: 0.009529578418700486 i: 954 ha.loc[0,'a'] 3895\n",
      "list(a)[0]: 3895 time: 0.04963278770446777 lenp(ha): 0.3627265350284014 rate: 0.00951526974239613 i: 955 ha.loc[0,'a'] 4498\n",
      "list(a)[0]: 4498 time: 0.06517410278320312 lenp(ha): 0.36245604544225046 rate: 0.009500961066091777 i: 956 ha.loc[0,'a'] 4419\n",
      "list(a)[0]: 4419 time: 0.06918478012084961 lenp(ha): 0.3621855558560995 rate: 0.009486652389787421 i: 957 ha.loc[0,'a'] 2678\n",
      "list(a)[0]: 2678 time: 0.08472537994384766 lenp(ha): 0.3619150662699486 rate: 0.009472343713483065 i: 958 ha.loc[0,'a'] 2862\n",
      "list(a)[0]: 2862 time: 0.043114662170410156 lenp(ha): 0.3616445766837977 rate: 0.00945803503717871 i: 959 ha.loc[0,'a'] 4659\n",
      "list(a)[0]: 4659 time: 0.04913020133972168 lenp(ha): 0.36137408709764673 rate: 0.009443726360874356 i: 960 ha.loc[0,'a'] 1602\n",
      "list(a)[0]: 1602 time: 0.051637887954711914 lenp(ha): 0.3611035975114958 rate: 0.00942941768457 i: 961 ha.loc[0,'a'] 7200\n",
      "list(a)[0]: 7200 time: 0.06617569923400879 lenp(ha): 0.3608331079253449 rate: 0.009415109008265645 i: 962 ha.loc[0,'a'] 7035\n",
      "list(a)[0]: 7035 time: 0.05113506317138672 lenp(ha): 0.36056261833919395 rate: 0.009400800331961291 i: 963 ha.loc[0,'a'] 8370\n",
      "list(a)[0]: 8370 time: 0.08873581886291504 lenp(ha): 0.36002163916689206 rate: 0.009381722096888817 i: 964 ha.loc[0,'a'] 6756\n",
      "list(a)[0]: 6756 time: 0.06968545913696289 lenp(ha): 0.3597511495807411 rate: 0.009367413420584461 i: 965 ha.loc[0,'a'] 2717\n",
      "list(a)[0]: 2717 time: 0.05565214157104492 lenp(ha): 0.3594806599945902 rate: 0.009353104744280107 i: 966 ha.loc[0,'a'] 1018\n",
      "list(a)[0]: 1018 time: 0.06717801094055176 lenp(ha): 0.3592101704084393 rate: 0.009338796067975752 i: 967 ha.loc[0,'a'] 7263\n",
      "list(a)[0]: 7263 time: 0.0310821533203125 lenp(ha): 0.35893968082228833 rate: 0.009324487391671396 i: 968 ha.loc[0,'a'] 8514\n",
      "list(a)[0]: 8514 time: 0.0661764144897461 lenp(ha): 0.3586691912361374 rate: 0.009314948274135159 i: 969 ha.loc[0,'a'] 7447\n",
      "list(a)[0]: 7447 time: 0.05564761161804199 lenp(ha): 0.3583987016499865 rate: 0.009300639597830805 i: 970 ha.loc[0,'a'] 1356\n",
      "list(a)[0]: 1356 time: 0.054645538330078125 lenp(ha): 0.35812821206383555 rate: 0.00928633092152645 i: 971 ha.loc[0,'a'] 412\n",
      "list(a)[0]: 412 time: 0.08171725273132324 lenp(ha): 0.3578577224776846 rate: 0.009272022245222094 i: 972 ha.loc[0,'a'] 2116\n",
      "list(a)[0]: 2116 time: 0.05464315414428711 lenp(ha): 0.35758723289153366 rate: 0.00925771356891774 i: 973 ha.loc[0,'a'] 8209\n",
      "list(a)[0]: 8209 time: 0.05063295364379883 lenp(ha): 0.35731674330538277 rate: 0.009243404892613384 i: 974 ha.loc[0,'a'] 6835\n",
      "list(a)[0]: 6835 time: 0.05614972114562988 lenp(ha): 0.3570462537192318 rate: 0.009229096216309029 i: 975 ha.loc[0,'a'] 7002\n",
      "list(a)[0]: 7002 time: 0.08923578262329102 lenp(ha): 0.3567757641330809 rate: 0.009214787540004675 i: 976 ha.loc[0,'a'] 4192\n",
      "list(a)[0]: 4192 time: 0.05113482475280762 lenp(ha): 0.35650527454692993 rate: 0.00920047886370032 i: 977 ha.loc[0,'a'] 7499\n",
      "list(a)[0]: 7499 time: 0.03308749198913574 lenp(ha): 0.356234784960779 rate: 0.009186170187395964 i: 978 ha.loc[0,'a'] 190\n",
      "list(a)[0]: 190 time: 0.03011155128479004 lenp(ha): 0.3559642953746281 rate: 0.009171861511091608 i: 979 ha.loc[0,'a'] 675\n",
      "list(a)[0]: 675 time: 0.06768083572387695 lenp(ha): 0.35569380578847715 rate: 0.009157552834787254 i: 980 ha.loc[0,'a'] 8274\n",
      "list(a)[0]: 8274 time: 0.1734619140625 lenp(ha): 0.35515282661617525 rate: 0.009128935482178543 i: 981 ha.loc[0,'a'] 2346\n",
      "list(a)[0]: 2346 time: 0.05815482139587402 lenp(ha): 0.35488233703002436 rate: 0.00911462680587419 i: 982 ha.loc[0,'a'] 3466\n",
      "list(a)[0]: 3466 time: 0.0626668930053711 lenp(ha): 0.3546118474438734 rate: 0.009100318129569834 i: 983 ha.loc[0,'a'] 6437\n",
      "list(a)[0]: 6437 time: 0.03208446502685547 lenp(ha): 0.35434135785772247 rate: 0.009086009453265478 i: 984 ha.loc[0,'a'] 706\n",
      "list(a)[0]: 706 time: 0.08121514320373535 lenp(ha): 0.3540708682715715 rate: 0.009071700776961124 i: 985 ha.loc[0,'a'] 3468\n",
      "list(a)[0]: 3468 time: 0.2005319595336914 lenp(ha): 0.35325939951311874 rate: 0.009047852983120531 i: 986 ha.loc[0,'a'] 189\n",
      "list(a)[0]: 189 time: 0.04612398147583008 lenp(ha): 0.3529889099269678 rate: 0.009033544306816176 i: 987 ha.loc[0,'a'] 2195\n",
      "list(a)[0]: 2195 time: 0.07820701599121094 lenp(ha): 0.35271842034081685 rate: 0.009019235630511822 i: 988 ha.loc[0,'a'] 6071\n",
      "list(a)[0]: 6071 time: 0.04211235046386719 lenp(ha): 0.35244793075466596 rate: 0.009004926954207466 i: 989 ha.loc[0,'a'] 6531\n",
      "list(a)[0]: 6531 time: 0.05715179443359375 lenp(ha): 0.352177441168515 rate: 0.00899061827790311 i: 990 ha.loc[0,'a'] 5892\n",
      "list(a)[0]: 5892 time: 0.04963231086730957 lenp(ha): 0.35190695158236407 rate: 0.008976309601598757 i: 991 ha.loc[0,'a'] 5360\n",
      "list(a)[0]: 5360 time: 0.05314183235168457 lenp(ha): 0.3516364619962131 rate: 0.008962000925294401 i: 992 ha.loc[0,'a'] 6044\n",
      "list(a)[0]: 6044 time: 0.09876179695129395 lenp(ha): 0.3510954828239113 rate: 0.008942922690221927 i: 993 ha.loc[0,'a'] 2460\n",
      "list(a)[0]: 2460 time: 0.05965852737426758 lenp(ha): 0.35082499323776034 rate: 0.008928614013917573 i: 994 ha.loc[0,'a'] 8449\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 8449 time: 0.05013227462768555 lenp(ha): 0.3505545036516094 rate: 0.008914305337613218 i: 995 ha.loc[0,'a'] 7789\n",
      "list(a)[0]: 7789 time: 0.06517219543457031 lenp(ha): 0.3502840140654585 rate: 0.008899996661308862 i: 996 ha.loc[0,'a'] 5294\n",
      "list(a)[0]: 5294 time: 0.043114662170410156 lenp(ha): 0.35001352447930756 rate: 0.008885687985004507 i: 997 ha.loc[0,'a'] 6358\n",
      "list(a)[0]: 6358 time: 0.054645538330078125 lenp(ha): 0.3497430348931566 rate: 0.008871379308700153 i: 998 ha.loc[0,'a'] 6085\n",
      "list(a)[0]: 6085 time: 0.09425067901611328 lenp(ha): 0.34947254530700567 rate: 0.008857070632395797 i: 999 ha.loc[0,'a'] 5431\n",
      "list(a)[0]: 5431 time: 0.06717777252197266 lenp(ha): 0.3492020557208547 rate: 0.008842761956091441 i: 1000 ha.loc[0,'a'] 3335\n",
      "list(a)[0]: 3335 time: 0.06517362594604492 lenp(ha): 0.34893156613470383 rate: 0.008828453279787088 i: 1001 ha.loc[0,'a'] 5950\n",
      "list(a)[0]: 5950 time: 0.07570290565490723 lenp(ha): 0.3486610765485529 rate: 0.008814144603482732 i: 1002 ha.loc[0,'a'] 2286\n",
      "list(a)[0]: 2286 time: 0.08171725273132324 lenp(ha): 0.34839058696240194 rate: 0.008799835927178376 i: 1003 ha.loc[0,'a'] 5347\n",
      "list(a)[0]: 5347 time: 0.09876203536987305 lenp(ha): 0.348120097376251 rate: 0.00878552725087402 i: 1004 ha.loc[0,'a'] 7426\n",
      "list(a)[0]: 7426 time: 0.08372306823730469 lenp(ha): 0.3478496077901001 rate: 0.008771218574569667 i: 1005 ha.loc[0,'a'] 521\n",
      "list(a)[0]: 521 time: 0.05464458465576172 lenp(ha): 0.34757911820394916 rate: 0.008756909898265311 i: 1006 ha.loc[0,'a'] 1798\n",
      "list(a)[0]: 1798 time: 0.06216597557067871 lenp(ha): 0.3473086286177982 rate: 0.008742601221960956 i: 1007 ha.loc[0,'a'] 112\n",
      "list(a)[0]: 112 time: 0.0972592830657959 lenp(ha): 0.34703813903164726 rate: 0.008728292545656602 i: 1008 ha.loc[0,'a'] 5850\n",
      "list(a)[0]: 5850 time: 0.0691835880279541 lenp(ha): 0.3467676494454964 rate: 0.008713983869352246 i: 1009 ha.loc[0,'a'] 7699\n",
      "list(a)[0]: 7699 time: 0.04010796546936035 lenp(ha): 0.3464971598593454 rate: 0.00869967519304789 i: 1010 ha.loc[0,'a'] 5728\n",
      "list(a)[0]: 5728 time: 0.06667733192443848 lenp(ha): 0.3462266702731945 rate: 0.008685366516743537 i: 1011 ha.loc[0,'a'] 6899\n",
      "list(a)[0]: 6899 time: 0.08171701431274414 lenp(ha): 0.34595618068704354 rate: 0.008671057840439181 i: 1012 ha.loc[0,'a'] 4393\n",
      "list(a)[0]: 4393 time: 0.04612159729003906 lenp(ha): 0.3456856911008926 rate: 0.008656749164134826 i: 1013 ha.loc[0,'a'] 8135\n",
      "list(a)[0]: 8135 time: 0.06166410446166992 lenp(ha): 0.3454152015147417 rate: 0.00864244048783047 i: 1014 ha.loc[0,'a'] 8741\n",
      "list(a)[0]: 8741 time: 0.08071446418762207 lenp(ha): 0.34514471192859075 rate: 0.008628131811526116 i: 1015 ha.loc[0,'a'] 6741\n",
      "list(a)[0]: 6741 time: 0.06717967987060547 lenp(ha): 0.3448742223424398 rate: 0.00861382313522176 i: 1016 ha.loc[0,'a'] 441\n",
      "list(a)[0]: 441 time: 0.061162471771240234 lenp(ha): 0.34460373275628886 rate: 0.008599514458917405 i: 1017 ha.loc[0,'a'] 6027\n",
      "list(a)[0]: 6027 time: 0.04462027549743652 lenp(ha): 0.34433324317013797 rate: 0.008585205782613051 i: 1018 ha.loc[0,'a'] 8114\n",
      "list(a)[0]: 8114 time: 0.07670331001281738 lenp(ha): 0.344062753583987 rate: 0.008570897106308695 i: 1019 ha.loc[0,'a'] 94\n",
      "list(a)[0]: 94 time: 0.07670831680297852 lenp(ha): 0.3437922639978361 rate: 0.00855658843000434 i: 1020 ha.loc[0,'a'] 3780\n",
      "list(a)[0]: 3780 time: 0.061162471771240234 lenp(ha): 0.34352177441168513 rate: 0.008542279753699986 i: 1021 ha.loc[0,'a'] 4736\n",
      "list(a)[0]: 4736 time: 0.07068657875061035 lenp(ha): 0.34325128482553424 rate: 0.00852797107739563 i: 1022 ha.loc[0,'a'] 1176\n",
      "list(a)[0]: 1176 time: 0.04963207244873047 lenp(ha): 0.3429807952393833 rate: 0.008513662401091275 i: 1023 ha.loc[0,'a'] 8803\n",
      "list(a)[0]: 8803 time: 0.08823513984680176 lenp(ha): 0.3424398160670814 rate: 0.008494584166018802 i: 1024 ha.loc[0,'a'] 1013\n",
      "list(a)[0]: 1013 time: 0.060660362243652344 lenp(ha): 0.34216932648093046 rate: 0.008480275489714447 i: 1025 ha.loc[0,'a'] 4699\n",
      "list(a)[0]: 4699 time: 0.08873462677001953 lenp(ha): 0.34189883689477957 rate: 0.008465966813410091 i: 1026 ha.loc[0,'a'] 7474\n",
      "list(a)[0]: 7474 time: 0.03910517692565918 lenp(ha): 0.3416283473086286 rate: 0.008451658137105736 i: 1027 ha.loc[0,'a'] 7482\n",
      "list(a)[0]: 7482 time: 0.05314040184020996 lenp(ha): 0.3413578577224777 rate: 0.008437349460801382 i: 1028 ha.loc[0,'a'] 3064\n",
      "list(a)[0]: 3064 time: 0.07018613815307617 lenp(ha): 0.34108736813632673 rate: 0.008423040784497026 i: 1029 ha.loc[0,'a'] 1607\n",
      "list(a)[0]: 1607 time: 0.053142547607421875 lenp(ha): 0.34081687855017584 rate: 0.00840873210819267 i: 1030 ha.loc[0,'a'] 5794\n",
      "list(a)[0]: 5794 time: 0.04762554168701172 lenp(ha): 0.3405463889640249 rate: 0.008394423431888317 i: 1031 ha.loc[0,'a'] 3398\n",
      "list(a)[0]: 3398 time: 0.06717967987060547 lenp(ha): 0.34027589937787395 rate: 0.008380114755583961 i: 1032 ha.loc[0,'a'] 6272\n",
      "list(a)[0]: 6272 time: 0.08372068405151367 lenp(ha): 0.340005409791723 rate: 0.008365806079279605 i: 1033 ha.loc[0,'a'] 8431\n",
      "list(a)[0]: 8431 time: 0.047122955322265625 lenp(ha): 0.3397349202055721 rate: 0.008351497402975252 i: 1034 ha.loc[0,'a'] 1328\n",
      "list(a)[0]: 1328 time: 0.06868171691894531 lenp(ha): 0.33946443061942116 rate: 0.008337188726670896 i: 1035 ha.loc[0,'a'] 6799\n",
      "list(a)[0]: 6799 time: 0.05464506149291992 lenp(ha): 0.3391939410332702 rate: 0.00832288005036654 i: 1036 ha.loc[0,'a'] 7431\n",
      "list(a)[0]: 7431 time: 0.07520079612731934 lenp(ha): 0.3389234514471193 rate: 0.008308571374062185 i: 1037 ha.loc[0,'a'] 4904\n",
      "list(a)[0]: 4904 time: 0.053641557693481445 lenp(ha): 0.3386529618609683 rate: 0.00829426269775783 i: 1038 ha.loc[0,'a'] 5910\n",
      "list(a)[0]: 5910 time: 0.047626495361328125 lenp(ha): 0.33838247227481744 rate: 0.008279954021453475 i: 1039 ha.loc[0,'a'] 1989\n",
      "list(a)[0]: 1989 time: 0.05163693428039551 lenp(ha): 0.3381119826886665 rate: 0.00826564534514912 i: 1040 ha.loc[0,'a'] 5401\n",
      "list(a)[0]: 5401 time: 0.03860211372375488 lenp(ha): 0.33784149310251554 rate: 0.008251336668844766 i: 1041 ha.loc[0,'a'] 6545\n",
      "list(a)[0]: 6545 time: 0.05815553665161133 lenp(ha): 0.3375710035163646 rate: 0.00823702799254041 i: 1042 ha.loc[0,'a'] 227\n",
      "list(a)[0]: 227 time: 0.06015968322753906 lenp(ha): 0.3373005139302137 rate: 0.008222719316236055 i: 1043 ha.loc[0,'a'] 2211\n",
      "list(a)[0]: 2211 time: 0.05313920974731445 lenp(ha): 0.33703002434406276 rate: 0.0082084106399317 i: 1044 ha.loc[0,'a'] 936\n",
      "list(a)[0]: 936 time: 0.048628807067871094 lenp(ha): 0.3367595347579118 rate: 0.008194101963627345 i: 1045 ha.loc[0,'a'] 1407\n",
      "list(a)[0]: 1407 time: 0.03860163688659668 lenp(ha): 0.33648904517176087 rate: 0.00817979328732299 i: 1046 ha.loc[0,'a'] 7588\n",
      "list(a)[0]: 7588 time: 0.10026669502258301 lenp(ha): 0.33621855558561 rate: 0.008165484611018634 i: 1047 ha.loc[0,'a'] 4634\n",
      "list(a)[0]: 4634 time: 0.06266593933105469 lenp(ha): 0.33594806599945903 rate: 0.00815117593471428 i: 1048 ha.loc[0,'a'] 7799\n",
      "list(a)[0]: 7799 time: 0.07118868827819824 lenp(ha): 0.3356775764133081 rate: 0.008136867258409924 i: 1049 ha.loc[0,'a'] 7698\n",
      "list(a)[0]: 7698 time: 0.057652950286865234 lenp(ha): 0.33540708682715714 rate: 0.008122558582105569 i: 1050 ha.loc[0,'a'] 3826\n",
      "list(a)[0]: 3826 time: 0.10678434371948242 lenp(ha): 0.3351365972410062 rate: 0.008108249905801215 i: 1051 ha.loc[0,'a'] 6884\n",
      "list(a)[0]: 6884 time: 0.06467223167419434 lenp(ha): 0.3348661076548553 rate: 0.00809394122949686 i: 1052 ha.loc[0,'a'] 4947\n",
      "list(a)[0]: 4947 time: 0.05614900588989258 lenp(ha): 0.33459561806870436 rate: 0.008079632553192504 i: 1053 ha.loc[0,'a'] 651\n",
      "list(a)[0]: 651 time: 0.046625375747680664 lenp(ha): 0.3343251284825534 rate: 0.00806532387688815 i: 1054 ha.loc[0,'a'] 4531\n",
      "list(a)[0]: 4531 time: 0.05665278434753418 lenp(ha): 0.33405463889640247 rate: 0.008051015200583794 i: 1055 ha.loc[0,'a'] 1748\n",
      "list(a)[0]: 1748 time: 0.029578208923339844 lenp(ha): 0.3337841493102516 rate: 0.008036706524279439 i: 1056 ha.loc[0,'a'] 6810\n",
      "list(a)[0]: 6810 time: 0.06066155433654785 lenp(ha): 0.33351365972410063 rate: 0.008022397847975083 i: 1057 ha.loc[0,'a'] 464\n",
      "list(a)[0]: 464 time: 0.033087968826293945 lenp(ha): 0.3332431701379497 rate: 0.00800808917167073 i: 1058 ha.loc[0,'a'] 4586\n",
      "list(a)[0]: 4586 time: 0.03910541534423828 lenp(ha): 0.33297268055179874 rate: 0.007993780495366374 i: 1059 ha.loc[0,'a'] 3827\n",
      "list(a)[0]: 3827 time: 0.0486295223236084 lenp(ha): 0.33270219096564785 rate: 0.007979471819062018 i: 1060 ha.loc[0,'a'] 4452\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4452 time: 0.044149160385131836 lenp(ha): 0.3324317013794969 rate: 0.007965163142757664 i: 1061 ha.loc[0,'a'] 6571\n",
      "list(a)[0]: 6571 time: 0.11680960655212402 lenp(ha): 0.331890722207195 rate: 0.00794608490768519 i: 1062 ha.loc[0,'a'] 3549\n",
      "list(a)[0]: 3549 time: 0.05865621566772461 lenp(ha): 0.33162023262104406 rate: 0.007931776231380834 i: 1063 ha.loc[0,'a'] 8519\n",
      "list(a)[0]: 8519 time: 0.03058171272277832 lenp(ha): 0.3313497430348932 rate: 0.00791746755507648 i: 1064 ha.loc[0,'a'] 6377\n",
      "list(a)[0]: 6377 time: 0.045653343200683594 lenp(ha): 0.33107925344874223 rate: 0.007903158878772125 i: 1065 ha.loc[0,'a'] 4810\n",
      "list(a)[0]: 4810 time: 0.054145097732543945 lenp(ha): 0.3308087638625913 rate: 0.00788885020246777 i: 1066 ha.loc[0,'a'] 3122\n",
      "list(a)[0]: 3122 time: 0.0396122932434082 lenp(ha): 0.33053827427644034 rate: 0.007879311084931532 i: 1067 ha.loc[0,'a'] 1514\n",
      "list(a)[0]: 1514 time: 0.036597251892089844 lenp(ha): 0.33026778469028945 rate: 0.007869771967395297 i: 1068 ha.loc[0,'a'] 979\n",
      "list(a)[0]: 979 time: 0.035125017166137695 lenp(ha): 0.3299972951041385 rate: 0.00786023284985906 i: 1069 ha.loc[0,'a'] 7734\n",
      "list(a)[0]: 7734 time: 0.027040958404541016 lenp(ha): 0.32972680551798755 rate: 0.007850693732322823 i: 1070 ha.loc[0,'a'] 4822\n",
      "list(a)[0]: 4822 time: 0.024595022201538086 lenp(ha): 0.3294563159318366 rate: 0.007841154614786586 i: 1071 ha.loc[0,'a'] 6560\n",
      "list(a)[0]: 6560 time: 0.04562211036682129 lenp(ha): 0.3291858263456857 rate: 0.007831615497250349 i: 1072 ha.loc[0,'a'] 8797\n",
      "list(a)[0]: 8797 time: 0.048128366470336914 lenp(ha): 0.32891533675953477 rate: 0.007822076379714113 i: 1073 ha.loc[0,'a'] 311\n",
      "list(a)[0]: 311 time: 0.043114662170410156 lenp(ha): 0.3286448471733838 rate: 0.007812537262177876 i: 1074 ha.loc[0,'a'] 7075\n",
      "list(a)[0]: 7075 time: 0.034592628479003906 lenp(ha): 0.3283743575872329 rate: 0.007802998144641639 i: 1075 ha.loc[0,'a'] 3328\n",
      "list(a)[0]: 3328 time: 0.03308820724487305 lenp(ha): 0.32810386800108193 rate: 0.007793459027105402 i: 1076 ha.loc[0,'a'] 960\n",
      "list(a)[0]: 960 time: 0.046633005142211914 lenp(ha): 0.32783337841493104 rate: 0.007783919909569166 i: 1077 ha.loc[0,'a'] 8237\n",
      "list(a)[0]: 8237 time: 0.036597490310668945 lenp(ha): 0.3275628888287801 rate: 0.007774380792032929 i: 1078 ha.loc[0,'a'] 4859\n",
      "list(a)[0]: 4859 time: 0.03960561752319336 lenp(ha): 0.32729239924262915 rate: 0.007764841674496693 i: 1079 ha.loc[0,'a'] 3871\n",
      "list(a)[0]: 3871 time: 0.036095380783081055 lenp(ha): 0.3270219096564782 rate: 0.0077553025569604556 i: 1080 ha.loc[0,'a'] 4922\n",
      "list(a)[0]: 4922 time: 0.03860116004943848 lenp(ha): 0.3267514200703273 rate: 0.0077457634394242185 i: 1081 ha.loc[0,'a'] 4976\n",
      "list(a)[0]: 4976 time: 0.027072429656982422 lenp(ha): 0.32648093048417637 rate: 0.007736224321887982 i: 1082 ha.loc[0,'a'] 6993\n",
      "list(a)[0]: 6993 time: 0.0797123908996582 lenp(ha): 0.3262104408980254 rate: 0.007726685204351745 i: 1083 ha.loc[0,'a'] 3845\n",
      "list(a)[0]: 3845 time: 0.03910994529724121 lenp(ha): 0.3259399513118745 rate: 0.007717146086815509 i: 1084 ha.loc[0,'a'] 5708\n",
      "list(a)[0]: 5708 time: 0.041109323501586914 lenp(ha): 0.3256694617257236 rate: 0.007707606969279272 i: 1085 ha.loc[0,'a'] 985\n",
      "list(a)[0]: 985 time: 0.03559374809265137 lenp(ha): 0.32539897213957264 rate: 0.007698067851743035 i: 1086 ha.loc[0,'a'] 5963\n",
      "list(a)[0]: 5963 time: 0.040106773376464844 lenp(ha): 0.3251284825534217 rate: 0.007688528734206799 i: 1087 ha.loc[0,'a'] 6867\n",
      "list(a)[0]: 6867 time: 0.0245664119720459 lenp(ha): 0.32485799296727075 rate: 0.007678989616670562 i: 1088 ha.loc[0,'a'] 5940\n",
      "list(a)[0]: 5940 time: 0.0521395206451416 lenp(ha): 0.3245875033811198 rate: 0.007669450499134325 i: 1089 ha.loc[0,'a'] 7297\n",
      "list(a)[0]: 7297 time: 0.04361557960510254 lenp(ha): 0.3243170137949689 rate: 0.007659911381598088 i: 1090 ha.loc[0,'a'] 5176\n",
      "list(a)[0]: 5176 time: 0.05013465881347656 lenp(ha): 0.32404652420881797 rate: 0.007650372264061851 i: 1091 ha.loc[0,'a'] 6760\n",
      "list(a)[0]: 6760 time: 0.06617569923400879 lenp(ha): 0.323776034622667 rate: 0.007640833146525615 i: 1092 ha.loc[0,'a'] 1626\n",
      "list(a)[0]: 1626 time: 0.04411673545837402 lenp(ha): 0.3235055450365161 rate: 0.007631294028989378 i: 1093 ha.loc[0,'a'] 6979\n",
      "list(a)[0]: 6979 time: 0.0310819149017334 lenp(ha): 0.3232350554503652 rate: 0.007621754911453142 i: 1094 ha.loc[0,'a'] 8161\n",
      "list(a)[0]: 8161 time: 0.07820844650268555 lenp(ha): 0.32296456586421424 rate: 0.007612215793916905 i: 1095 ha.loc[0,'a'] 7411\n",
      "list(a)[0]: 7411 time: 0.09174442291259766 lenp(ha): 0.3226940762780633 rate: 0.007602676676380668 i: 1096 ha.loc[0,'a'] 7977\n",
      "list(a)[0]: 7977 time: 0.033086299896240234 lenp(ha): 0.32242358669191234 rate: 0.0075931375588444315 i: 1097 ha.loc[0,'a'] 6315\n",
      "list(a)[0]: 6315 time: 0.07419776916503906 lenp(ha): 0.32215309710576145 rate: 0.007583598441308194 i: 1098 ha.loc[0,'a'] 1751\n",
      "list(a)[0]: 1751 time: 0.04461932182312012 lenp(ha): 0.3218826075196105 rate: 0.007574059323771958 i: 1099 ha.loc[0,'a'] 5626\n",
      "list(a)[0]: 5626 time: 0.02707219123840332 lenp(ha): 0.32161211793345956 rate: 0.007564520206235721 i: 1100 ha.loc[0,'a'] 3969\n",
      "list(a)[0]: 3969 time: 0.031583309173583984 lenp(ha): 0.3213416283473086 rate: 0.007554981088699484 i: 1101 ha.loc[0,'a'] 5783\n",
      "list(a)[0]: 5783 time: 0.04812812805175781 lenp(ha): 0.32107113876115767 rate: 0.007545441971163248 i: 1102 ha.loc[0,'a'] 8389\n",
      "list(a)[0]: 8389 time: 0.08873248100280762 lenp(ha): 0.3208006491750068 rate: 0.007535902853627011 i: 1103 ha.loc[0,'a'] 5609\n",
      "list(a)[0]: 5609 time: 0.03709864616394043 lenp(ha): 0.32053015958885583 rate: 0.007526363736090775 i: 1104 ha.loc[0,'a'] 1821\n",
      "list(a)[0]: 1821 time: 0.04461860656738281 lenp(ha): 0.3202596700027049 rate: 0.0075168246185545375 i: 1105 ha.loc[0,'a'] 5245\n",
      "list(a)[0]: 5245 time: 0.02356266975402832 lenp(ha): 0.31998918041655394 rate: 0.0075072855010183005 i: 1106 ha.loc[0,'a'] 4826\n",
      "list(a)[0]: 4826 time: 0.0345914363861084 lenp(ha): 0.31971869083040305 rate: 0.007497746383482064 i: 1107 ha.loc[0,'a'] 7313\n",
      "list(a)[0]: 7313 time: 0.03860354423522949 lenp(ha): 0.3194482012442521 rate: 0.007488207265945827 i: 1108 ha.loc[0,'a'] 1653\n",
      "list(a)[0]: 1653 time: 0.03509259223937988 lenp(ha): 0.31917771165810116 rate: 0.007478668148409591 i: 1109 ha.loc[0,'a'] 8033\n",
      "list(a)[0]: 8033 time: 0.035594940185546875 lenp(ha): 0.3189072220719502 rate: 0.007469129030873354 i: 1110 ha.loc[0,'a'] 777\n",
      "list(a)[0]: 777 time: 0.0591580867767334 lenp(ha): 0.3186367324857993 rate: 0.007459589913337117 i: 1111 ha.loc[0,'a'] 3936\n",
      "list(a)[0]: 3936 time: 0.03007984161376953 lenp(ha): 0.3183662428996484 rate: 0.007450050795800881 i: 1112 ha.loc[0,'a'] 8451\n",
      "list(a)[0]: 8451 time: 0.057654380798339844 lenp(ha): 0.31809575331349743 rate: 0.007440511678264644 i: 1113 ha.loc[0,'a'] 5077\n",
      "list(a)[0]: 5077 time: 0.03759932518005371 lenp(ha): 0.3178252637273465 rate: 0.007430972560728407 i: 1114 ha.loc[0,'a'] 2440\n",
      "list(a)[0]: 2440 time: 0.045618295669555664 lenp(ha): 0.31755477414119554 rate: 0.00742143344319217 i: 1115 ha.loc[0,'a'] 5815\n",
      "list(a)[0]: 5815 time: 0.024565458297729492 lenp(ha): 0.31728428455504465 rate: 0.007411894325655933 i: 1116 ha.loc[0,'a'] 2980\n",
      "list(a)[0]: 2980 time: 0.02507781982421875 lenp(ha): 0.3170137949688937 rate: 0.007402355208119697 i: 1117 ha.loc[0,'a'] 7480\n",
      "list(a)[0]: 7480 time: 0.034090280532836914 lenp(ha): 0.31674330538274276 rate: 0.00739281609058346 i: 1118 ha.loc[0,'a'] 4456\n",
      "list(a)[0]: 4456 time: 0.034120798110961914 lenp(ha): 0.3164728157965918 rate: 0.007383276973047224 i: 1119 ha.loc[0,'a'] 5162\n",
      "list(a)[0]: 5162 time: 0.0416111946105957 lenp(ha): 0.3162023262104409 rate: 0.007378507414279105 i: 1120 ha.loc[0,'a'] 8714\n",
      "list(a)[0]: 8714 time: 0.04060983657836914 lenp(ha): 0.31593183662429 rate: 0.007368968296742868 i: 1121 ha.loc[0,'a'] 3988\n",
      "list(a)[0]: 3988 time: 0.03910470008850098 lenp(ha): 0.31566134703813903 rate: 0.007359429179206632 i: 1122 ha.loc[0,'a'] 8291\n",
      "list(a)[0]: 8291 time: 0.029578685760498047 lenp(ha): 0.3153908574519881 rate: 0.007349890061670395 i: 1123 ha.loc[0,'a'] 6554\n",
      "list(a)[0]: 6554 time: 0.03659653663635254 lenp(ha): 0.3151203678658372 rate: 0.007340350944134158 i: 1124 ha.loc[0,'a'] 2839\n",
      "list(a)[0]: 2839 time: 0.02406454086303711 lenp(ha): 0.31484987827968625 rate: 0.007330811826597922 i: 1125 ha.loc[0,'a'] 7407\n",
      "list(a)[0]: 7407 time: 0.03612804412841797 lenp(ha): 0.3145793886935353 rate: 0.0073212727090616846 i: 1126 ha.loc[0,'a'] 3465\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3465 time: 0.037633657455444336 lenp(ha): 0.31430889910738435 rate: 0.007311733591525448 i: 1127 ha.loc[0,'a'] 8334\n",
      "list(a)[0]: 8334 time: 0.02406477928161621 lenp(ha): 0.3140384095212334 rate: 0.007302194473989211 i: 1128 ha.loc[0,'a'] 4792\n",
      "list(a)[0]: 4792 time: 0.034592628479003906 lenp(ha): 0.3137679199350825 rate: 0.007292655356452974 i: 1129 ha.loc[0,'a'] 7183\n",
      "list(a)[0]: 7183 time: 0.035594940185546875 lenp(ha): 0.31349743034893157 rate: 0.007283116238916738 i: 1130 ha.loc[0,'a'] 4462\n",
      "list(a)[0]: 4462 time: 0.031082630157470703 lenp(ha): 0.3132269407627806 rate: 0.007273577121380501 i: 1131 ha.loc[0,'a'] 6010\n",
      "list(a)[0]: 6010 time: 0.07118844985961914 lenp(ha): 0.3129564511766297 rate: 0.007264038003844265 i: 1132 ha.loc[0,'a'] 5825\n",
      "list(a)[0]: 5825 time: 0.03458881378173828 lenp(ha): 0.3126859615904788 rate: 0.007254498886308028 i: 1133 ha.loc[0,'a'] 6923\n",
      "list(a)[0]: 6923 time: 0.03612971305847168 lenp(ha): 0.31241547200432784 rate: 0.007244959768771791 i: 1134 ha.loc[0,'a'] 5460\n",
      "list(a)[0]: 5460 time: 0.04261279106140137 lenp(ha): 0.3121449824181769 rate: 0.007235420651235554 i: 1135 ha.loc[0,'a'] 5930\n",
      "list(a)[0]: 5930 time: 0.07770705223083496 lenp(ha): 0.31187449283202595 rate: 0.007225881533699317 i: 1136 ha.loc[0,'a'] 436\n",
      "list(a)[0]: 436 time: 0.0762014389038086 lenp(ha): 0.31160400324587506 rate: 0.007216342416163081 i: 1137 ha.loc[0,'a'] 3470\n",
      "list(a)[0]: 3470 time: 0.039104461669921875 lenp(ha): 0.3113335136597241 rate: 0.007206803298626844 i: 1138 ha.loc[0,'a'] 8850\n",
      "list(a)[0]: 8850 time: 0.07219243049621582 lenp(ha): 0.31106302407357317 rate: 0.007197264181090607 i: 1139 ha.loc[0,'a'] 5976\n",
      "list(a)[0]: 5976 time: 0.043114423751831055 lenp(ha): 0.3107925344874222 rate: 0.007187725063554371 i: 1140 ha.loc[0,'a'] 6029\n",
      "list(a)[0]: 6029 time: 0.07923412322998047 lenp(ha): 0.3105220449012713 rate: 0.007178185946018134 i: 1141 ha.loc[0,'a'] 4167\n",
      "list(a)[0]: 4167 time: 0.05615115165710449 lenp(ha): 0.3102515553151204 rate: 0.0071686468284818975 i: 1142 ha.loc[0,'a'] 6223\n",
      "list(a)[0]: 6223 time: 0.05815315246582031 lenp(ha): 0.30998106572896944 rate: 0.0071591077109456605 i: 1143 ha.loc[0,'a'] 5275\n",
      "list(a)[0]: 5275 time: 0.05263924598693848 lenp(ha): 0.3097105761428185 rate: 0.007149568593409423 i: 1144 ha.loc[0,'a'] 2385\n",
      "list(a)[0]: 2385 time: 0.03408956527709961 lenp(ha): 0.30944008655666755 rate: 0.007140029475873187 i: 1145 ha.loc[0,'a'] 1307\n",
      "list(a)[0]: 1307 time: 0.0486295223236084 lenp(ha): 0.30916959697051666 rate: 0.00713049035833695 i: 1146 ha.loc[0,'a'] 2295\n",
      "list(a)[0]: 2295 time: 0.03760099411010742 lenp(ha): 0.3088991073843657 rate: 0.007120951240800714 i: 1147 ha.loc[0,'a'] 1686\n",
      "list(a)[0]: 1686 time: 0.03258943557739258 lenp(ha): 0.30862861779821477 rate: 0.007111412123264477 i: 1148 ha.loc[0,'a'] 3564\n",
      "list(a)[0]: 3564 time: 0.047624826431274414 lenp(ha): 0.3083581282120638 rate: 0.00710187300572824 i: 1149 ha.loc[0,'a'] 7103\n",
      "list(a)[0]: 7103 time: 0.0315852165222168 lenp(ha): 0.30808763862591293 rate: 0.007092333888192004 i: 1150 ha.loc[0,'a'] 7762\n",
      "list(a)[0]: 7762 time: 0.053641557693481445 lenp(ha): 0.307817149039762 rate: 0.0070827947706557665 i: 1151 ha.loc[0,'a'] 1451\n",
      "list(a)[0]: 1451 time: 0.04461956024169922 lenp(ha): 0.30754665945361104 rate: 0.00707325565311953 i: 1152 ha.loc[0,'a'] 1760\n",
      "list(a)[0]: 1760 time: 0.05063366889953613 lenp(ha): 0.3072761698674601 rate: 0.007063716535583293 i: 1153 ha.loc[0,'a'] 4455\n",
      "list(a)[0]: 4455 time: 0.03258657455444336 lenp(ha): 0.30700568028130915 rate: 0.007054177418047056 i: 1154 ha.loc[0,'a'] 5142\n",
      "list(a)[0]: 5142 time: 0.04612112045288086 lenp(ha): 0.30673519069515826 rate: 0.00704463830051082 i: 1155 ha.loc[0,'a'] 6654\n",
      "list(a)[0]: 6654 time: 0.03910255432128906 lenp(ha): 0.3064647011090073 rate: 0.007035099182974583 i: 1156 ha.loc[0,'a'] 3675\n",
      "list(a)[0]: 3675 time: 0.03208518028259277 lenp(ha): 0.30619421152285636 rate: 0.007025560065438347 i: 1157 ha.loc[0,'a'] 8088\n",
      "list(a)[0]: 8088 time: 0.03358912467956543 lenp(ha): 0.3059237219367054 rate: 0.00701602094790211 i: 1158 ha.loc[0,'a'] 3106\n",
      "list(a)[0]: 3106 time: 0.034090518951416016 lenp(ha): 0.3056532323505545 rate: 0.007006481830365873 i: 1159 ha.loc[0,'a'] 8630\n",
      "list(a)[0]: 8630 time: 0.031081199645996094 lenp(ha): 0.3053827427644036 rate: 0.006996942712829636 i: 1160 ha.loc[0,'a'] 5805\n",
      "list(a)[0]: 5805 time: 0.03358864784240723 lenp(ha): 0.30511225317825263 rate: 0.006987403595293399 i: 1161 ha.loc[0,'a'] 7516\n",
      "list(a)[0]: 7516 time: 0.043112993240356445 lenp(ha): 0.3048417635921017 rate: 0.006977864477757163 i: 1162 ha.loc[0,'a'] 7560\n",
      "list(a)[0]: 7560 time: 0.04963207244873047 lenp(ha): 0.3045712740059508 rate: 0.006968325360220926 i: 1163 ha.loc[0,'a'] 6243\n",
      "list(a)[0]: 6243 time: 0.0656743049621582 lenp(ha): 0.30430078441979985 rate: 0.006958786242684689 i: 1164 ha.loc[0,'a'] 2845\n",
      "list(a)[0]: 2845 time: 0.056147098541259766 lenp(ha): 0.3040302948336489 rate: 0.006949247125148453 i: 1165 ha.loc[0,'a'] 4065\n",
      "list(a)[0]: 4065 time: 0.03509378433227539 lenp(ha): 0.30375980524749796 rate: 0.006939708007612216 i: 1166 ha.loc[0,'a'] 4749\n",
      "list(a)[0]: 4749 time: 0.03609657287597656 lenp(ha): 0.303489315661347 rate: 0.006930168890075979 i: 1167 ha.loc[0,'a'] 7882\n",
      "list(a)[0]: 7882 time: 0.03709840774536133 lenp(ha): 0.3032188260751961 rate: 0.0069206297725397424 i: 1168 ha.loc[0,'a'] 3975\n",
      "list(a)[0]: 3975 time: 0.03308844566345215 lenp(ha): 0.3029483364890452 rate: 0.006911090655003505 i: 1169 ha.loc[0,'a'] 4337\n",
      "list(a)[0]: 4337 time: 0.0451200008392334 lenp(ha): 0.30267784690289423 rate: 0.006901551537467269 i: 1170 ha.loc[0,'a'] 2905\n",
      "list(a)[0]: 2905 time: 0.03759956359863281 lenp(ha): 0.3024073573167433 rate: 0.006892012419931032 i: 1171 ha.loc[0,'a'] 8606\n",
      "list(a)[0]: 8606 time: 0.04211139678955078 lenp(ha): 0.3021368677305924 rate: 0.006882473302394795 i: 1172 ha.loc[0,'a'] 1864\n",
      "list(a)[0]: 1864 time: 0.033087730407714844 lenp(ha): 0.30186637814444145 rate: 0.006872934184858559 i: 1173 ha.loc[0,'a'] 2655\n",
      "list(a)[0]: 2655 time: 0.0381014347076416 lenp(ha): 0.3015958885582905 rate: 0.006863395067322322 i: 1174 ha.loc[0,'a'] 8563\n",
      "list(a)[0]: 8563 time: 0.04361677169799805 lenp(ha): 0.30132539897213956 rate: 0.0068538559497860856 i: 1175 ha.loc[0,'a'] 2647\n",
      "list(a)[0]: 2647 time: 0.03960442543029785 lenp(ha): 0.30105490938598867 rate: 0.006849086391017967 i: 1176 ha.loc[0,'a'] 4621\n",
      "list(a)[0]: 4621 time: 0.053141117095947266 lenp(ha): 0.3007844197998377 rate: 0.00683954727348173 i: 1177 ha.loc[0,'a'] 6693\n",
      "list(a)[0]: 6693 time: 0.0240631103515625 lenp(ha): 0.3005139302136868 rate: 0.006830008155945494 i: 1178 ha.loc[0,'a'] 2215\n",
      "list(a)[0]: 2215 time: 0.03609728813171387 lenp(ha): 0.30024344062753583 rate: 0.006820469038409257 i: 1179 ha.loc[0,'a'] 1723\n",
      "list(a)[0]: 1723 time: 0.032586097717285156 lenp(ha): 0.2999729510413849 rate: 0.00681092992087302 i: 1180 ha.loc[0,'a'] 3587\n",
      "list(a)[0]: 3587 time: 0.045621633529663086 lenp(ha): 0.299702461455234 rate: 0.006801390803336783 i: 1181 ha.loc[0,'a'] 7644\n",
      "list(a)[0]: 7644 time: 0.026570558547973633 lenp(ha): 0.29943197186908305 rate: 0.006791851685800546 i: 1182 ha.loc[0,'a'] 2901\n",
      "list(a)[0]: 2901 time: 0.06667757034301758 lenp(ha): 0.29889099269678115 rate: 0.006777543009496192 i: 1183 ha.loc[0,'a'] 8482\n",
      "list(a)[0]: 8482 time: 0.05113697052001953 lenp(ha): 0.29862050311063026 rate: 0.0067680038919599545 i: 1184 ha.loc[0,'a'] 133\n",
      "list(a)[0]: 133 time: 0.07169151306152344 lenp(ha): 0.2980795239383284 rate: 0.0067536952156556 i: 1185 ha.loc[0,'a'] 3573\n",
      "list(a)[0]: 3573 time: 0.04060864448547363 lenp(ha): 0.2978090343521774 rate: 0.006744156098119363 i: 1186 ha.loc[0,'a'] 5153\n",
      "list(a)[0]: 5153 time: 0.037600040435791016 lenp(ha): 0.2975385447660265 rate: 0.0067346169805831265 i: 1187 ha.loc[0,'a'] 8162\n",
      "list(a)[0]: 8162 time: 0.04712486267089844 lenp(ha): 0.2972680551798756 rate: 0.0067250778630468895 i: 1188 ha.loc[0,'a'] 71\n",
      "list(a)[0]: 71 time: 0.03408932685852051 lenp(ha): 0.29699756559372464 rate: 0.006715538745510652 i: 1189 ha.loc[0,'a'] 5583\n",
      "list(a)[0]: 5583 time: 0.03358960151672363 lenp(ha): 0.2967270760075737 rate: 0.006705999627974416 i: 1190 ha.loc[0,'a'] 6818\n",
      "list(a)[0]: 6818 time: 0.035596609115600586 lenp(ha): 0.29645658642142275 rate: 0.006696460510438179 i: 1191 ha.loc[0,'a'] 8024\n",
      "list(a)[0]: 8024 time: 0.03258657455444336 lenp(ha): 0.29618609683527186 rate: 0.006686921392901943 i: 1192 ha.loc[0,'a'] 4689\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4689 time: 0.03609800338745117 lenp(ha): 0.2959156072491209 rate: 0.006677382275365706 i: 1193 ha.loc[0,'a'] 6862\n",
      "list(a)[0]: 6862 time: 0.038135528564453125 lenp(ha): 0.29564511766296997 rate: 0.006667843157829469 i: 1194 ha.loc[0,'a'] 1305\n",
      "list(a)[0]: 1305 time: 0.03409099578857422 lenp(ha): 0.295374628076819 rate: 0.006658304040293233 i: 1195 ha.loc[0,'a'] 8671\n",
      "list(a)[0]: 8671 time: 0.03208589553833008 lenp(ha): 0.29510413849066813 rate: 0.0066487649227569955 i: 1196 ha.loc[0,'a'] 3053\n",
      "list(a)[0]: 3053 time: 0.024064302444458008 lenp(ha): 0.2948336489045172 rate: 0.006639225805220759 i: 1197 ha.loc[0,'a'] 3426\n",
      "list(a)[0]: 3426 time: 0.04311251640319824 lenp(ha): 0.29456315931836624 rate: 0.006629686687684522 i: 1198 ha.loc[0,'a'] 3273\n",
      "list(a)[0]: 3273 time: 0.03659319877624512 lenp(ha): 0.2942926697322153 rate: 0.006620147570148285 i: 1199 ha.loc[0,'a'] 5654\n",
      "list(a)[0]: 5654 time: 0.03760075569152832 lenp(ha): 0.29402218014606435 rate: 0.006610608452612049 i: 1200 ha.loc[0,'a'] 6938\n",
      "list(a)[0]: 6938 time: 0.03559470176696777 lenp(ha): 0.29375169055991346 rate: 0.006601069335075812 i: 1201 ha.loc[0,'a'] 1219\n",
      "list(a)[0]: 1219 time: 0.02506399154663086 lenp(ha): 0.2934812009737625 rate: 0.006591530217539576 i: 1202 ha.loc[0,'a'] 336\n",
      "list(a)[0]: 336 time: 0.03759908676147461 lenp(ha): 0.29321071138761157 rate: 0.006581991100003339 i: 1203 ha.loc[0,'a'] 1250\n",
      "list(a)[0]: 1250 time: 0.033087730407714844 lenp(ha): 0.2929402218014606 rate: 0.006572451982467102 i: 1204 ha.loc[0,'a'] 1122\n",
      "list(a)[0]: 1122 time: 0.03208518028259277 lenp(ha): 0.29266973221530973 rate: 0.006562912864930865 i: 1205 ha.loc[0,'a'] 7334\n",
      "list(a)[0]: 7334 time: 0.04762625694274902 lenp(ha): 0.2923992426291588 rate: 0.006553373747394628 i: 1206 ha.loc[0,'a'] 1344\n",
      "list(a)[0]: 1344 time: 0.04010605812072754 lenp(ha): 0.29212875304300784 rate: 0.006543834629858392 i: 1207 ha.loc[0,'a'] 3370\n",
      "list(a)[0]: 3370 time: 0.03509354591369629 lenp(ha): 0.2918582634568569 rate: 0.006534295512322155 i: 1208 ha.loc[0,'a'] 4757\n",
      "list(a)[0]: 4757 time: 0.06216573715209961 lenp(ha): 0.291587773870706 rate: 0.006524756394785918 i: 1209 ha.loc[0,'a'] 4705\n",
      "list(a)[0]: 4705 time: 0.02205967903137207 lenp(ha): 0.29131728428455506 rate: 0.006515217277249682 i: 1210 ha.loc[0,'a'] 7368\n",
      "list(a)[0]: 7368 time: 0.04712510108947754 lenp(ha): 0.2910467946984041 rate: 0.006505678159713445 i: 1211 ha.loc[0,'a'] 6989\n",
      "list(a)[0]: 6989 time: 0.03559422492980957 lenp(ha): 0.29077630511225316 rate: 0.0064961390421772085 i: 1212 ha.loc[0,'a'] 505\n",
      "list(a)[0]: 505 time: 0.044602394104003906 lenp(ha): 0.2905058155261022 rate: 0.0064865999246409714 i: 1213 ha.loc[0,'a'] 6951\n",
      "list(a)[0]: 6951 time: 0.04211163520812988 lenp(ha): 0.2902353259399513 rate: 0.006477060807104734 i: 1214 ha.loc[0,'a'] 854\n",
      "list(a)[0]: 854 time: 0.030077457427978516 lenp(ha): 0.2899648363538004 rate: 0.006467521689568498 i: 1215 ha.loc[0,'a'] 5936\n",
      "list(a)[0]: 5936 time: 0.03161287307739258 lenp(ha): 0.28969434676764944 rate: 0.006457982572032261 i: 1216 ha.loc[0,'a'] 487\n",
      "list(a)[0]: 487 time: 0.03211617469787598 lenp(ha): 0.2894238571814985 rate: 0.006448443454496025 i: 1217 ha.loc[0,'a'] 4439\n",
      "list(a)[0]: 4439 time: 0.03311920166015625 lenp(ha): 0.2891533675953476 rate: 0.006438904336959788 i: 1218 ha.loc[0,'a'] 1676\n",
      "list(a)[0]: 1676 time: 0.0421144962310791 lenp(ha): 0.28888287800919665 rate: 0.006429365219423551 i: 1219 ha.loc[0,'a'] 5473\n",
      "list(a)[0]: 5473 time: 0.03462362289428711 lenp(ha): 0.2886123884230457 rate: 0.0064198261018873146 i: 1220 ha.loc[0,'a'] 8227\n",
      "list(a)[0]: 8227 time: 0.039637088775634766 lenp(ha): 0.28834189883689476 rate: 0.0064102869843510775 i: 1221 ha.loc[0,'a'] 2669\n",
      "list(a)[0]: 2669 time: 0.053642988204956055 lenp(ha): 0.28807140925074387 rate: 0.006400747866814841 i: 1222 ha.loc[0,'a'] 5144\n",
      "list(a)[0]: 5144 time: 0.06316757202148438 lenp(ha): 0.2878009196645929 rate: 0.006391208749278604 i: 1223 ha.loc[0,'a'] 7294\n",
      "list(a)[0]: 7294 time: 0.057150840759277344 lenp(ha): 0.287530430078442 rate: 0.006381669631742367 i: 1224 ha.loc[0,'a'] 3062\n",
      "list(a)[0]: 3062 time: 0.03910422325134277 lenp(ha): 0.28725994049229103 rate: 0.006372130514206131 i: 1225 ha.loc[0,'a'] 6658\n",
      "list(a)[0]: 6658 time: 0.018047094345092773 lenp(ha): 0.2869894509061401 rate: 0.006362591396669894 i: 1226 ha.loc[0,'a'] 222\n",
      "list(a)[0]: 222 time: 0.0345921516418457 lenp(ha): 0.2867189613199892 rate: 0.006353052279133658 i: 1227 ha.loc[0,'a'] 1074\n",
      "list(a)[0]: 1074 time: 0.0345911979675293 lenp(ha): 0.28644847173383825 rate: 0.006343513161597421 i: 1228 ha.loc[0,'a'] 4653\n",
      "list(a)[0]: 4653 time: 0.03358936309814453 lenp(ha): 0.2861779821476873 rate: 0.0063339740440611835 i: 1229 ha.loc[0,'a'] 6964\n",
      "list(a)[0]: 6964 time: 0.032586097717285156 lenp(ha): 0.28590749256153636 rate: 0.006324434926524947 i: 1230 ha.loc[0,'a'] 1895\n",
      "list(a)[0]: 1895 time: 0.034592628479003906 lenp(ha): 0.28563700297538547 rate: 0.00631489580898871 i: 1231 ha.loc[0,'a'] 1725\n",
      "list(a)[0]: 1725 time: 0.042110443115234375 lenp(ha): 0.2853665133892345 rate: 0.006305356691452474 i: 1232 ha.loc[0,'a'] 7208\n",
      "list(a)[0]: 7208 time: 0.038604021072387695 lenp(ha): 0.2850960238030836 rate: 0.006295817573916237 i: 1233 ha.loc[0,'a'] 5468\n",
      "list(a)[0]: 5468 time: 0.04812765121459961 lenp(ha): 0.28482553421693263 rate: 0.00628627845638 i: 1234 ha.loc[0,'a'] 1316\n",
      "list(a)[0]: 1316 time: 0.054143667221069336 lenp(ha): 0.28455504463078174 rate: 0.006281508897611882 i: 1235 ha.loc[0,'a'] 8228\n",
      "list(a)[0]: 8228 time: 0.03609633445739746 lenp(ha): 0.2842845550446308 rate: 0.006271969780075645 i: 1236 ha.loc[0,'a'] 432\n",
      "list(a)[0]: 432 time: 0.028077363967895508 lenp(ha): 0.28401406545847985 rate: 0.006262430662539408 i: 1237 ha.loc[0,'a'] 6743\n",
      "list(a)[0]: 6743 time: 0.03559422492980957 lenp(ha): 0.2837435758723289 rate: 0.006252891545003172 i: 1238 ha.loc[0,'a'] 7677\n",
      "list(a)[0]: 7677 time: 0.03562498092651367 lenp(ha): 0.28347308628617796 rate: 0.006243352427466935 i: 1239 ha.loc[0,'a'] 1242\n",
      "list(a)[0]: 1242 time: 0.03509378433227539 lenp(ha): 0.28320259670002706 rate: 0.006233813309930699 i: 1240 ha.loc[0,'a'] 6676\n",
      "list(a)[0]: 6676 time: 0.025096893310546875 lenp(ha): 0.2829321071138761 rate: 0.006224274192394462 i: 1241 ha.loc[0,'a'] 1784\n",
      "list(a)[0]: 1784 time: 0.03408980369567871 lenp(ha): 0.2826616175277252 rate: 0.0062147350748582245 i: 1242 ha.loc[0,'a'] 3781\n",
      "list(a)[0]: 3781 time: 0.034590959548950195 lenp(ha): 0.2823911279415742 rate: 0.006205195957321988 i: 1243 ha.loc[0,'a'] 7521\n",
      "list(a)[0]: 7521 time: 0.034589529037475586 lenp(ha): 0.28212063835542334 rate: 0.006195656839785751 i: 1244 ha.loc[0,'a'] 1687\n",
      "list(a)[0]: 1687 time: 0.04311203956604004 lenp(ha): 0.2818501487692724 rate: 0.006186117722249515 i: 1245 ha.loc[0,'a'] 409\n",
      "list(a)[0]: 409 time: 0.04361414909362793 lenp(ha): 0.28157965918312144 rate: 0.006176578604713278 i: 1246 ha.loc[0,'a'] 825\n",
      "list(a)[0]: 825 time: 0.04361605644226074 lenp(ha): 0.2813091695969705 rate: 0.006167039487177041 i: 1247 ha.loc[0,'a'] 1110\n",
      "list(a)[0]: 1110 time: 0.03358960151672363 lenp(ha): 0.2810386800108196 rate: 0.006157500369640805 i: 1248 ha.loc[0,'a'] 6250\n",
      "list(a)[0]: 6250 time: 0.03759956359863281 lenp(ha): 0.28076819042466866 rate: 0.006147961252104568 i: 1249 ha.loc[0,'a'] 7042\n",
      "list(a)[0]: 7042 time: 0.03411293029785156 lenp(ha): 0.2804977008385177 rate: 0.0061384221345683315 i: 1250 ha.loc[0,'a'] 346\n",
      "list(a)[0]: 346 time: 0.0376284122467041 lenp(ha): 0.28022721125236677 rate: 0.006128883017032094 i: 1251 ha.loc[0,'a'] 7859\n",
      "list(a)[0]: 7859 time: 0.040106773376464844 lenp(ha): 0.2799567216662158 rate: 0.006119343899495857 i: 1252 ha.loc[0,'a'] 7500\n",
      "list(a)[0]: 7500 time: 0.03609609603881836 lenp(ha): 0.27968623208006493 rate: 0.006109804781959621 i: 1253 ha.loc[0,'a'] 4441\n",
      "list(a)[0]: 4441 time: 0.036599159240722656 lenp(ha): 0.279415742493914 rate: 0.006100265664423384 i: 1254 ha.loc[0,'a'] 6169\n",
      "list(a)[0]: 6169 time: 0.03559541702270508 lenp(ha): 0.27914525290776304 rate: 0.006090726546887148 i: 1255 ha.loc[0,'a'] 14\n",
      "list(a)[0]: 14 time: 0.026068449020385742 lenp(ha): 0.2788747633216121 rate: 0.006081187429350911 i: 1256 ha.loc[0,'a'] 4867\n",
      "list(a)[0]: 4867 time: 0.04160881042480469 lenp(ha): 0.2786042737354612 rate: 0.006071648311814674 i: 1257 ha.loc[0,'a'] 3419\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3419 time: 0.05013251304626465 lenp(ha): 0.27833378414931026 rate: 0.0060621091942784375 i: 1258 ha.loc[0,'a'] 2509\n",
      "list(a)[0]: 2509 time: 0.04461932182312012 lenp(ha): 0.2780632945631593 rate: 0.0060525700767422004 i: 1259 ha.loc[0,'a'] 152\n",
      "list(a)[0]: 152 time: 0.03409147262573242 lenp(ha): 0.27779280497700837 rate: 0.006043030959205964 i: 1260 ha.loc[0,'a'] 8344\n",
      "list(a)[0]: 8344 time: 0.03208780288696289 lenp(ha): 0.2775223153908575 rate: 0.006033491841669727 i: 1261 ha.loc[0,'a'] 7972\n",
      "list(a)[0]: 7972 time: 0.033589839935302734 lenp(ha): 0.27725182580470653 rate: 0.00602395272413349 i: 1262 ha.loc[0,'a'] 3018\n",
      "list(a)[0]: 3018 time: 0.05464506149291992 lenp(ha): 0.2769813362185556 rate: 0.006014413606597254 i: 1263 ha.loc[0,'a'] 3631\n",
      "list(a)[0]: 3631 time: 0.036595821380615234 lenp(ha): 0.27671084663240464 rate: 0.006004874489061017 i: 1264 ha.loc[0,'a'] 2613\n",
      "list(a)[0]: 2613 time: 0.03810238838195801 lenp(ha): 0.2764403570462537 rate: 0.005995335371524781 i: 1265 ha.loc[0,'a'] 3829\n",
      "list(a)[0]: 3829 time: 0.03559517860412598 lenp(ha): 0.2761698674601028 rate: 0.0059857962539885436 i: 1266 ha.loc[0,'a'] 245\n",
      "list(a)[0]: 245 time: 0.03358721733093262 lenp(ha): 0.27589937787395186 rate: 0.0059762571364523065 i: 1267 ha.loc[0,'a'] 3445\n",
      "list(a)[0]: 3445 time: 0.03960537910461426 lenp(ha): 0.2756288882878009 rate: 0.00596671801891607 i: 1268 ha.loc[0,'a'] 745\n",
      "list(a)[0]: 745 time: 0.04111003875732422 lenp(ha): 0.27535839870164996 rate: 0.005957178901379833 i: 1269 ha.loc[0,'a'] 8494\n",
      "list(a)[0]: 8494 time: 0.06366896629333496 lenp(ha): 0.2750879091154991 rate: 0.005947639783843597 i: 1270 ha.loc[0,'a'] 3647\n",
      "list(a)[0]: 3647 time: 0.033087730407714844 lenp(ha): 0.27481741952934813 rate: 0.00593810066630736 i: 1271 ha.loc[0,'a'] 3867\n",
      "list(a)[0]: 3867 time: 0.030080318450927734 lenp(ha): 0.2745469299431972 rate: 0.005928561548771123 i: 1272 ha.loc[0,'a'] 8822\n",
      "list(a)[0]: 8822 time: 0.06517148017883301 lenp(ha): 0.27400595077089535 rate: 0.005914252872466768 i: 1273 ha.loc[0,'a'] 2491\n",
      "list(a)[0]: 2491 time: 0.03609800338745117 lenp(ha): 0.2737354611847444 rate: 0.005904713754930531 i: 1274 ha.loc[0,'a'] 7670\n",
      "list(a)[0]: 7670 time: 0.0345919132232666 lenp(ha): 0.27346497159859345 rate: 0.005895174637394295 i: 1275 ha.loc[0,'a'] 3519\n",
      "list(a)[0]: 3519 time: 0.032620906829833984 lenp(ha): 0.2731944820124425 rate: 0.005885635519858058 i: 1276 ha.loc[0,'a'] 6153\n",
      "list(a)[0]: 6153 time: 0.030582427978515625 lenp(ha): 0.27292399242629156 rate: 0.005876096402321822 i: 1277 ha.loc[0,'a'] 6731\n",
      "list(a)[0]: 6731 time: 0.033589839935302734 lenp(ha): 0.27265350284014067 rate: 0.0058665572847855845 i: 1278 ha.loc[0,'a'] 3787\n",
      "list(a)[0]: 3787 time: 0.02356433868408203 lenp(ha): 0.2723830132539897 rate: 0.0058570181672493475 i: 1279 ha.loc[0,'a'] 8367\n",
      "list(a)[0]: 8367 time: 0.0275726318359375 lenp(ha): 0.2721125236678388 rate: 0.005847479049713111 i: 1280 ha.loc[0,'a'] 5038\n",
      "list(a)[0]: 5038 time: 0.048628807067871094 lenp(ha): 0.27184203408168783 rate: 0.005837939932176874 i: 1281 ha.loc[0,'a'] 1730\n",
      "list(a)[0]: 1730 time: 0.036597251892089844 lenp(ha): 0.27157154449553694 rate: 0.005828400814640638 i: 1282 ha.loc[0,'a'] 7015\n",
      "list(a)[0]: 7015 time: 0.025068283081054688 lenp(ha): 0.271301054909386 rate: 0.005818861697104401 i: 1283 ha.loc[0,'a'] 8056\n",
      "list(a)[0]: 8056 time: 0.031583309173583984 lenp(ha): 0.27103056532323505 rate: 0.005809322579568164 i: 1284 ha.loc[0,'a'] 2141\n",
      "list(a)[0]: 2141 time: 0.038100242614746094 lenp(ha): 0.2707600757370841 rate: 0.005799783462031928 i: 1285 ha.loc[0,'a'] 5310\n",
      "list(a)[0]: 5310 time: 0.024562835693359375 lenp(ha): 0.2704895861509332 rate: 0.005790244344495691 i: 1286 ha.loc[0,'a'] 8151\n",
      "list(a)[0]: 8151 time: 0.043114662170410156 lenp(ha): 0.27021909656478227 rate: 0.005780705226959454 i: 1287 ha.loc[0,'a'] 5608\n",
      "list(a)[0]: 5608 time: 0.029078006744384766 lenp(ha): 0.2699486069786313 rate: 0.005771166109423217 i: 1288 ha.loc[0,'a'] 3276\n",
      "list(a)[0]: 3276 time: 0.024566173553466797 lenp(ha): 0.2696781173924804 rate: 0.00576162699188698 i: 1289 ha.loc[0,'a'] 4508\n",
      "list(a)[0]: 4508 time: 0.03208446502685547 lenp(ha): 0.26940762780632943 rate: 0.005752087874350744 i: 1290 ha.loc[0,'a'] 6348\n",
      "list(a)[0]: 6348 time: 0.04010725021362305 lenp(ha): 0.26913713822017854 rate: 0.005742548756814507 i: 1291 ha.loc[0,'a'] 7790\n",
      "list(a)[0]: 7790 time: 0.034059762954711914 lenp(ha): 0.2688666486340276 rate: 0.005733009639278271 i: 1292 ha.loc[0,'a'] 4271\n",
      "list(a)[0]: 4271 time: 0.0386042594909668 lenp(ha): 0.26859615904787665 rate: 0.005723470521742034 i: 1293 ha.loc[0,'a'] 229\n",
      "list(a)[0]: 229 time: 0.029078006744384766 lenp(ha): 0.2683256694617257 rate: 0.005713931404205797 i: 1294 ha.loc[0,'a'] 5933\n",
      "list(a)[0]: 5933 time: 0.04060816764831543 lenp(ha): 0.2680551798755748 rate: 0.0057043922866695605 i: 1295 ha.loc[0,'a'] 6971\n",
      "list(a)[0]: 6971 time: 0.0315852165222168 lenp(ha): 0.26778469028942387 rate: 0.005694853169133323 i: 1296 ha.loc[0,'a'] 3\n",
      "list(a)[0]: 3 time: 0.03258633613586426 lenp(ha): 0.2675142007032729 rate: 0.005685314051597087 i: 1297 ha.loc[0,'a'] 8696\n",
      "list(a)[0]: 8696 time: 0.033588409423828125 lenp(ha): 0.267243711117122 rate: 0.00567577493406085 i: 1298 ha.loc[0,'a'] 1699\n",
      "list(a)[0]: 1699 time: 0.03208494186401367 lenp(ha): 0.2669732215309711 rate: 0.005666235816524613 i: 1299 ha.loc[0,'a'] 1564\n",
      "list(a)[0]: 1564 time: 0.025568246841430664 lenp(ha): 0.26670273194482014 rate: 0.005656696698988377 i: 1300 ha.loc[0,'a'] 2998\n",
      "list(a)[0]: 2998 time: 0.023061037063598633 lenp(ha): 0.2664322423586692 rate: 0.00564715758145214 i: 1301 ha.loc[0,'a'] 8555\n",
      "list(a)[0]: 8555 time: 0.038101911544799805 lenp(ha): 0.26616175277251825 rate: 0.005637618463915903 i: 1302 ha.loc[0,'a'] 5687\n",
      "list(a)[0]: 5687 time: 0.03208518028259277 lenp(ha): 0.2658912631863673 rate: 0.0056280793463796665 i: 1303 ha.loc[0,'a'] 5694\n",
      "list(a)[0]: 5694 time: 0.032587289810180664 lenp(ha): 0.2656207736002164 rate: 0.0056185402288434294 i: 1304 ha.loc[0,'a'] 1414\n",
      "list(a)[0]: 1414 time: 0.03760027885437012 lenp(ha): 0.26535028401406546 rate: 0.005609001111307193 i: 1305 ha.loc[0,'a'] 5387\n",
      "list(a)[0]: 5387 time: 0.03158378601074219 lenp(ha): 0.2650797944279145 rate: 0.005599461993770956 i: 1306 ha.loc[0,'a'] 4021\n",
      "list(a)[0]: 4021 time: 0.04161214828491211 lenp(ha): 0.26480930484176357 rate: 0.005589922876234719 i: 1307 ha.loc[0,'a'] 4858\n",
      "list(a)[0]: 4858 time: 0.03308820724487305 lenp(ha): 0.2645388152556127 rate: 0.005580383758698483 i: 1308 ha.loc[0,'a'] 3643\n",
      "list(a)[0]: 3643 time: 0.03308701515197754 lenp(ha): 0.26426832566946173 rate: 0.005570844641162246 i: 1309 ha.loc[0,'a'] 1420\n",
      "list(a)[0]: 1420 time: 0.04060769081115723 lenp(ha): 0.2639978360833108 rate: 0.00556130552362601 i: 1310 ha.loc[0,'a'] 7968\n",
      "list(a)[0]: 7968 time: 0.034593820571899414 lenp(ha): 0.26372734649715984 rate: 0.0055517664060897726 i: 1311 ha.loc[0,'a'] 3521\n",
      "list(a)[0]: 3521 time: 0.03659963607788086 lenp(ha): 0.26345685691100895 rate: 0.0055422272885535355 i: 1312 ha.loc[0,'a'] 2377\n",
      "list(a)[0]: 2377 time: 0.036597490310668945 lenp(ha): 0.263186367324858 rate: 0.005532688171017299 i: 1313 ha.loc[0,'a'] 155\n",
      "list(a)[0]: 155 time: 0.04712510108947754 lenp(ha): 0.26291587773870706 rate: 0.005523149053481062 i: 1314 ha.loc[0,'a'] 321\n",
      "list(a)[0]: 321 time: 0.033086299896240234 lenp(ha): 0.2626453881525561 rate: 0.005513609935944826 i: 1315 ha.loc[0,'a'] 1375\n",
      "list(a)[0]: 1375 time: 0.04461789131164551 lenp(ha): 0.26237489856640517 rate: 0.005504070818408589 i: 1316 ha.loc[0,'a'] 8112\n",
      "list(a)[0]: 8112 time: 0.0345919132232666 lenp(ha): 0.2621044089802543 rate: 0.005494531700872352 i: 1317 ha.loc[0,'a'] 2696\n",
      "list(a)[0]: 2696 time: 0.048126935958862305 lenp(ha): 0.26183391939410333 rate: 0.005484992583336116 i: 1318 ha.loc[0,'a'] 5685\n",
      "list(a)[0]: 5685 time: 0.04361701011657715 lenp(ha): 0.2615634298079524 rate: 0.005475453465799879 i: 1319 ha.loc[0,'a'] 3178\n",
      "list(a)[0]: 3178 time: 0.031584739685058594 lenp(ha): 0.26129294022180144 rate: 0.005465914348263642 i: 1320 ha.loc[0,'a'] 8057\n",
      "list(a)[0]: 8057 time: 0.023561716079711914 lenp(ha): 0.26102245063565055 rate: 0.005456375230727405 i: 1321 ha.loc[0,'a'] 841\n",
      "list(a)[0]: 841 time: 0.025065898895263672 lenp(ha): 0.2607519610494996 rate: 0.005446836113191168 i: 1322 ha.loc[0,'a'] 2210\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2210 time: 0.02556896209716797 lenp(ha): 0.26048147146334866 rate: 0.005437296995654932 i: 1323 ha.loc[0,'a'] 531\n",
      "list(a)[0]: 531 time: 0.04063820838928223 lenp(ha): 0.2602109818771977 rate: 0.005427757878118695 i: 1324 ha.loc[0,'a'] 6329\n",
      "list(a)[0]: 6329 time: 0.05211234092712402 lenp(ha): 0.2599404922910468 rate: 0.005418218760582459 i: 1325 ha.loc[0,'a'] 7623\n",
      "list(a)[0]: 7623 time: 0.06367039680480957 lenp(ha): 0.2596700027048959 rate: 0.005408679643046222 i: 1326 ha.loc[0,'a'] 3724\n",
      "list(a)[0]: 3724 time: 0.03960728645324707 lenp(ha): 0.25939951311874493 rate: 0.005399140525509985 i: 1327 ha.loc[0,'a'] 4418\n",
      "list(a)[0]: 4418 time: 0.03960585594177246 lenp(ha): 0.259129023532594 rate: 0.0053896014079737485 i: 1328 ha.loc[0,'a'] 6066\n",
      "list(a)[0]: 6066 time: 0.05113554000854492 lenp(ha): 0.25885853394644304 rate: 0.005380062290437511 i: 1329 ha.loc[0,'a'] 914\n",
      "list(a)[0]: 914 time: 0.0416109561920166 lenp(ha): 0.25858804436029215 rate: 0.005370523172901275 i: 1330 ha.loc[0,'a'] 6922\n",
      "list(a)[0]: 6922 time: 0.03359079360961914 lenp(ha): 0.2583175547741412 rate: 0.005360984055365038 i: 1331 ha.loc[0,'a'] 3326\n",
      "list(a)[0]: 3326 time: 0.03359079360961914 lenp(ha): 0.25804706518799025 rate: 0.005351444937828801 i: 1332 ha.loc[0,'a'] 5974\n",
      "list(a)[0]: 5974 time: 0.03860306739807129 lenp(ha): 0.2577765756018393 rate: 0.005341905820292565 i: 1333 ha.loc[0,'a'] 1971\n",
      "list(a)[0]: 1971 time: 0.0350954532623291 lenp(ha): 0.2575060860156884 rate: 0.005332366702756328 i: 1334 ha.loc[0,'a'] 1791\n",
      "list(a)[0]: 1791 time: 0.031084060668945312 lenp(ha): 0.25723559642953747 rate: 0.005322827585220092 i: 1335 ha.loc[0,'a'] 4056\n",
      "list(a)[0]: 4056 time: 0.024063825607299805 lenp(ha): 0.2569651068433865 rate: 0.0053132884676838545 i: 1336 ha.loc[0,'a'] 6697\n",
      "list(a)[0]: 6697 time: 0.033089637756347656 lenp(ha): 0.2566946172572356 rate: 0.0053037493501476175 i: 1337 ha.loc[0,'a'] 4852\n",
      "list(a)[0]: 4852 time: 0.04010605812072754 lenp(ha): 0.2564241276710847 rate: 0.005294210232611381 i: 1338 ha.loc[0,'a'] 5572\n",
      "list(a)[0]: 5572 time: 0.03509211540222168 lenp(ha): 0.25615363808493374 rate: 0.005284671115075144 i: 1339 ha.loc[0,'a'] 5283\n",
      "list(a)[0]: 5283 time: 0.03408980369567871 lenp(ha): 0.2558831484987828 rate: 0.005275131997538908 i: 1340 ha.loc[0,'a'] 2975\n",
      "list(a)[0]: 2975 time: 0.024094820022583008 lenp(ha): 0.25561265891263185 rate: 0.005265592880002671 i: 1341 ha.loc[0,'a'] 6915\n",
      "list(a)[0]: 6915 time: 0.027071714401245117 lenp(ha): 0.2553421693264809 rate: 0.005256053762466434 i: 1342 ha.loc[0,'a'] 235\n",
      "list(a)[0]: 235 time: 0.0381007194519043 lenp(ha): 0.25507167974033 rate: 0.005246514644930198 i: 1343 ha.loc[0,'a'] 8235\n",
      "list(a)[0]: 8235 time: 0.031081438064575195 lenp(ha): 0.25480119015417907 rate: 0.005236975527393961 i: 1344 ha.loc[0,'a'] 7233\n",
      "list(a)[0]: 7233 time: 0.03258657455444336 lenp(ha): 0.2545307005680281 rate: 0.005227436409857724 i: 1345 ha.loc[0,'a'] 1876\n",
      "list(a)[0]: 1876 time: 0.024123191833496094 lenp(ha): 0.2542602109818772 rate: 0.005217897292321487 i: 1346 ha.loc[0,'a'] 4848\n",
      "list(a)[0]: 4848 time: 0.03609609603881836 lenp(ha): 0.2539897213957263 rate: 0.00520835817478525 i: 1347 ha.loc[0,'a'] 6338\n",
      "list(a)[0]: 6338 time: 0.03659701347351074 lenp(ha): 0.25371923180957534 rate: 0.005198819057249014 i: 1348 ha.loc[0,'a'] 2576\n",
      "list(a)[0]: 2576 time: 0.02907562255859375 lenp(ha): 0.2534487422234244 rate: 0.005189279939712777 i: 1349 ha.loc[0,'a'] 1827\n",
      "list(a)[0]: 1827 time: 0.023061275482177734 lenp(ha): 0.25317825263727345 rate: 0.005179740822176541 i: 1350 ha.loc[0,'a'] 8576\n",
      "list(a)[0]: 8576 time: 0.03358793258666992 lenp(ha): 0.25290776305112256 rate: 0.005170201704640304 i: 1351 ha.loc[0,'a'] 6919\n",
      "list(a)[0]: 6919 time: 0.02657175064086914 lenp(ha): 0.2526372734649716 rate: 0.005160662587104067 i: 1352 ha.loc[0,'a'] 6439\n",
      "list(a)[0]: 6439 time: 0.036095619201660156 lenp(ha): 0.25236678387882067 rate: 0.0051511234695678304 i: 1353 ha.loc[0,'a'] 3131\n",
      "list(a)[0]: 3131 time: 0.04010820388793945 lenp(ha): 0.2520962942926697 rate: 0.005141584352031593 i: 1354 ha.loc[0,'a'] 504\n",
      "list(a)[0]: 504 time: 0.05414319038391113 lenp(ha): 0.2518258047065188 rate: 0.005132045234495357 i: 1355 ha.loc[0,'a'] 308\n",
      "list(a)[0]: 308 time: 0.032618045806884766 lenp(ha): 0.2515553151203679 rate: 0.00512250611695912 i: 1356 ha.loc[0,'a'] 7186\n",
      "list(a)[0]: 7186 time: 0.031583547592163086 lenp(ha): 0.25128482553421694 rate: 0.005112966999422883 i: 1357 ha.loc[0,'a'] 3434\n",
      "list(a)[0]: 3434 time: 0.02606987953186035 lenp(ha): 0.251014335948066 rate: 0.005103427881886647 i: 1358 ha.loc[0,'a'] 2004\n",
      "list(a)[0]: 2004 time: 0.03358793258666992 lenp(ha): 0.25074384636191505 rate: 0.00509388876435041 i: 1359 ha.loc[0,'a'] 3316\n",
      "list(a)[0]: 3316 time: 0.03108382225036621 lenp(ha): 0.25047335677576416 rate: 0.0050843496468141736 i: 1360 ha.loc[0,'a'] 3666\n",
      "list(a)[0]: 3666 time: 0.03409004211425781 lenp(ha): 0.2502028671896132 rate: 0.0050748105292779365 i: 1361 ha.loc[0,'a'] 6364\n",
      "list(a)[0]: 6364 time: 0.0340883731842041 lenp(ha): 0.24993237760346226 rate: 0.005065271411741699 i: 1362 ha.loc[0,'a'] 3349\n",
      "list(a)[0]: 3349 time: 0.03709697723388672 lenp(ha): 0.24966188801731135 rate: 0.005055732294205463 i: 1363 ha.loc[0,'a'] 2699\n",
      "list(a)[0]: 2699 time: 0.04612255096435547 lenp(ha): 0.2493913984311604 rate: 0.005046193176669226 i: 1364 ha.loc[0,'a'] 5477\n",
      "list(a)[0]: 5477 time: 0.0451202392578125 lenp(ha): 0.24912090884500945 rate: 0.00503665405913299 i: 1365 ha.loc[0,'a'] 2994\n",
      "list(a)[0]: 2994 time: 0.05063438415527344 lenp(ha): 0.24885041925885854 rate: 0.005027114941596753 i: 1366 ha.loc[0,'a'] 580\n",
      "list(a)[0]: 580 time: 0.036597490310668945 lenp(ha): 0.2485799296727076 rate: 0.005017575824060516 i: 1367 ha.loc[0,'a'] 8046\n",
      "list(a)[0]: 8046 time: 0.034091949462890625 lenp(ha): 0.24830944008655667 rate: 0.00500803670652428 i: 1368 ha.loc[0,'a'] 6174\n",
      "list(a)[0]: 6174 time: 0.06319880485534668 lenp(ha): 0.2477684609142548 rate: 0.004993728030219924 i: 1369 ha.loc[0,'a'] 6052\n",
      "list(a)[0]: 6052 time: 0.0340883731842041 lenp(ha): 0.24749797132810386 rate: 0.004984188912683688 i: 1370 ha.loc[0,'a'] 8425\n",
      "list(a)[0]: 8425 time: 0.03011322021484375 lenp(ha): 0.24722748174195294 rate: 0.004974649795147451 i: 1371 ha.loc[0,'a'] 1647\n",
      "list(a)[0]: 1647 time: 0.03358960151672363 lenp(ha): 0.246956992155802 rate: 0.0049651106776112145 i: 1372 ha.loc[0,'a'] 1769\n",
      "list(a)[0]: 1769 time: 0.04562187194824219 lenp(ha): 0.24668650256965108 rate: 0.0049555715600749775 i: 1373 ha.loc[0,'a'] 1115\n",
      "list(a)[0]: 1115 time: 0.04662489891052246 lenp(ha): 0.24641601298350013 rate: 0.00494603244253874 i: 1374 ha.loc[0,'a'] 6827\n",
      "list(a)[0]: 6827 time: 0.030580997467041016 lenp(ha): 0.24614552339734921 rate: 0.004936493325002504 i: 1375 ha.loc[0,'a'] 5344\n",
      "list(a)[0]: 5344 time: 0.024064302444458008 lenp(ha): 0.24587503381119827 rate: 0.004926954207466267 i: 1376 ha.loc[0,'a'] 88\n",
      "list(a)[0]: 88 time: 0.035092830657958984 lenp(ha): 0.24560454422504732 rate: 0.004917415089930031 i: 1377 ha.loc[0,'a'] 1897\n",
      "list(a)[0]: 1897 time: 0.0486297607421875 lenp(ha): 0.2453340546388964 rate: 0.004907875972393794 i: 1378 ha.loc[0,'a'] 5998\n",
      "list(a)[0]: 5998 time: 0.026571035385131836 lenp(ha): 0.24506356505274546 rate: 0.004898336854857557 i: 1379 ha.loc[0,'a'] 1763\n",
      "list(a)[0]: 1763 time: 0.03358960151672363 lenp(ha): 0.24479307546659454 rate: 0.004888797737321321 i: 1380 ha.loc[0,'a'] 8174\n",
      "list(a)[0]: 8174 time: 0.05163931846618652 lenp(ha): 0.2445225858804436 rate: 0.0048792586197850835 i: 1381 ha.loc[0,'a'] 2399\n",
      "list(a)[0]: 2399 time: 0.056652069091796875 lenp(ha): 0.24425209629429268 rate: 0.004869719502248847 i: 1382 ha.loc[0,'a'] 2735\n",
      "list(a)[0]: 2735 time: 0.025066852569580078 lenp(ha): 0.24398160670814173 rate: 0.00486018038471261 i: 1383 ha.loc[0,'a'] 2117\n",
      "list(a)[0]: 2117 time: 0.033589839935302734 lenp(ha): 0.2437111171219908 rate: 0.004850641267176373 i: 1384 ha.loc[0,'a'] 1409\n",
      "list(a)[0]: 1409 time: 0.0381014347076416 lenp(ha): 0.24344062753583987 rate: 0.004841102149640137 i: 1385 ha.loc[0,'a'] 5826\n",
      "list(a)[0]: 5826 time: 0.024065732955932617 lenp(ha): 0.24317013794968895 rate: 0.0048315630321039 i: 1386 ha.loc[0,'a'] 7575\n",
      "list(a)[0]: 7575 time: 0.03466606140136719 lenp(ha): 0.242899648363538 rate: 0.004822023914567664 i: 1387 ha.loc[0,'a'] 8060\n",
      "list(a)[0]: 8060 time: 0.0310821533203125 lenp(ha): 0.24262915877738708 rate: 0.004812484797031427 i: 1388 ha.loc[0,'a'] 6978\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 6978 time: 0.06767964363098145 lenp(ha): 0.24235866919123614 rate: 0.00480294567949519 i: 1389 ha.loc[0,'a'] 4964\n",
      "list(a)[0]: 4964 time: 0.05263948440551758 lenp(ha): 0.2420881796050852 rate: 0.004793406561958953 i: 1390 ha.loc[0,'a'] 6342\n",
      "list(a)[0]: 6342 time: 0.04060721397399902 lenp(ha): 0.24181769001893427 rate: 0.004783867444422716 i: 1391 ha.loc[0,'a'] 8328\n",
      "list(a)[0]: 8328 time: 0.0381016731262207 lenp(ha): 0.24154720043278333 rate: 0.00477432832688648 i: 1392 ha.loc[0,'a'] 3473\n",
      "list(a)[0]: 3473 time: 0.034090280532836914 lenp(ha): 0.2412767108466324 rate: 0.004764789209350243 i: 1393 ha.loc[0,'a'] 2868\n",
      "list(a)[0]: 2868 time: 0.03509330749511719 lenp(ha): 0.24100622126048146 rate: 0.004755250091814006 i: 1394 ha.loc[0,'a'] 6138\n",
      "list(a)[0]: 6138 time: 0.04863452911376953 lenp(ha): 0.24073573167433054 rate: 0.00474571097427777 i: 1395 ha.loc[0,'a'] 7251\n",
      "list(a)[0]: 7251 time: 0.03692507743835449 lenp(ha): 0.2404652420881796 rate: 0.004736171856741533 i: 1396 ha.loc[0,'a'] 3974\n",
      "list(a)[0]: 3974 time: 0.0275728702545166 lenp(ha): 0.24019475250202868 rate: 0.0047266327392052965 i: 1397 ha.loc[0,'a'] 7658\n",
      "list(a)[0]: 7658 time: 0.03659510612487793 lenp(ha): 0.23992426291587773 rate: 0.0047170936216690594 i: 1398 ha.loc[0,'a'] 4033\n",
      "list(a)[0]: 4033 time: 0.034592390060424805 lenp(ha): 0.23965377332972682 rate: 0.004707554504132822 i: 1399 ha.loc[0,'a'] 1947\n",
      "list(a)[0]: 1947 time: 0.044620513916015625 lenp(ha): 0.23938328374357587 rate: 0.004698015386596586 i: 1400 ha.loc[0,'a'] 6601\n",
      "list(a)[0]: 6601 time: 0.03609585762023926 lenp(ha): 0.23911279415742495 rate: 0.004688476269060349 i: 1401 ha.loc[0,'a'] 5938\n",
      "list(a)[0]: 5938 time: 0.07469749450683594 lenp(ha): 0.238842304571274 rate: 0.004678937151524113 i: 1402 ha.loc[0,'a'] 2681\n",
      "list(a)[0]: 2681 time: 0.03960537910461426 lenp(ha): 0.23857181498512306 rate: 0.004669398033987876 i: 1403 ha.loc[0,'a'] 7508\n",
      "list(a)[0]: 7508 time: 0.040609121322631836 lenp(ha): 0.23830132539897214 rate: 0.004659858916451639 i: 1404 ha.loc[0,'a'] 4593\n",
      "list(a)[0]: 4593 time: 0.04461956024169922 lenp(ha): 0.2380308358128212 rate: 0.0046503197989154026 i: 1405 ha.loc[0,'a'] 965\n",
      "list(a)[0]: 965 time: 0.04311513900756836 lenp(ha): 0.23776034622667028 rate: 0.0046407806813791655 i: 1406 ha.loc[0,'a'] 2415\n",
      "list(a)[0]: 2415 time: 0.040606021881103516 lenp(ha): 0.23748985664051933 rate: 0.004631241563842929 i: 1407 ha.loc[0,'a'] 7437\n",
      "list(a)[0]: 7437 time: 0.05263996124267578 lenp(ha): 0.2372193670543684 rate: 0.004621702446306692 i: 1408 ha.loc[0,'a'] 48\n",
      "list(a)[0]: 48 time: 0.03609657287597656 lenp(ha): 0.23694887746821747 rate: 0.004612163328770455 i: 1409 ha.loc[0,'a'] 4675\n",
      "list(a)[0]: 4675 time: 0.04963254928588867 lenp(ha): 0.23667838788206655 rate: 0.004602624211234219 i: 1410 ha.loc[0,'a'] 3762\n",
      "list(a)[0]: 3762 time: 0.0641169548034668 lenp(ha): 0.2364078982959156 rate: 0.004593085093697982 i: 1411 ha.loc[0,'a'] 488\n",
      "list(a)[0]: 488 time: 0.03960561752319336 lenp(ha): 0.23613740870976468 rate: 0.004583545976161746 i: 1412 ha.loc[0,'a'] 7119\n",
      "list(a)[0]: 7119 time: 0.05865669250488281 lenp(ha): 0.23586691912361374 rate: 0.004574006858625509 i: 1413 ha.loc[0,'a'] 7316\n",
      "list(a)[0]: 7316 time: 0.035588741302490234 lenp(ha): 0.23559642953746282 rate: 0.0045644677410892716 i: 1414 ha.loc[0,'a'] 5752\n",
      "list(a)[0]: 5752 time: 0.04562830924987793 lenp(ha): 0.23532593995131187 rate: 0.004554928623553035 i: 1415 ha.loc[0,'a'] 4502\n",
      "list(a)[0]: 4502 time: 0.03308916091918945 lenp(ha): 0.23505545036516093 rate: 0.004545389506016798 i: 1416 ha.loc[0,'a'] 3281\n",
      "list(a)[0]: 3281 time: 0.03609776496887207 lenp(ha): 0.23478496077901 rate: 0.004535850388480562 i: 1417 ha.loc[0,'a'] 4847\n",
      "list(a)[0]: 4847 time: 0.032083988189697266 lenp(ha): 0.23451447119285906 rate: 0.004526311270944325 i: 1418 ha.loc[0,'a'] 1109\n",
      "list(a)[0]: 1109 time: 0.04461860656738281 lenp(ha): 0.23424398160670815 rate: 0.004516772153408088 i: 1419 ha.loc[0,'a'] 5414\n",
      "list(a)[0]: 5414 time: 0.04862689971923828 lenp(ha): 0.2339734920205572 rate: 0.004507233035871852 i: 1420 ha.loc[0,'a'] 6501\n",
      "list(a)[0]: 6501 time: 0.04812765121459961 lenp(ha): 0.23370300243440628 rate: 0.004497693918335615 i: 1421 ha.loc[0,'a'] 4818\n",
      "list(a)[0]: 4818 time: 0.05464601516723633 lenp(ha): 0.23343251284825534 rate: 0.0044881548007993785 i: 1422 ha.loc[0,'a'] 7452\n",
      "list(a)[0]: 7452 time: 0.02556920051574707 lenp(ha): 0.23316202326210442 rate: 0.004478615683263141 i: 1423 ha.loc[0,'a'] 8566\n",
      "list(a)[0]: 8566 time: 0.03158450126647949 lenp(ha): 0.23289153367595347 rate: 0.004469076565726904 i: 1424 ha.loc[0,'a'] 2092\n",
      "list(a)[0]: 2092 time: 0.03963661193847656 lenp(ha): 0.23262104408980255 rate: 0.004459537448190668 i: 1425 ha.loc[0,'a'] 3746\n",
      "list(a)[0]: 3746 time: 0.04060840606689453 lenp(ha): 0.2323505545036516 rate: 0.004449998330654431 i: 1426 ha.loc[0,'a'] 223\n",
      "list(a)[0]: 223 time: 0.03308987617492676 lenp(ha): 0.2320800649175007 rate: 0.004440459213118195 i: 1427 ha.loc[0,'a'] 3450\n",
      "list(a)[0]: 3450 time: 0.031583547592163086 lenp(ha): 0.23180957533134974 rate: 0.004430920095581958 i: 1428 ha.loc[0,'a'] 2321\n",
      "list(a)[0]: 2321 time: 0.037636518478393555 lenp(ha): 0.2315390857451988 rate: 0.004421380978045721 i: 1429 ha.loc[0,'a'] 8626\n",
      "list(a)[0]: 8626 time: 0.033588409423828125 lenp(ha): 0.23126859615904788 rate: 0.0044118418605094845 i: 1430 ha.loc[0,'a'] 607\n",
      "list(a)[0]: 607 time: 0.04358100891113281 lenp(ha): 0.23099810657289693 rate: 0.0044023027429732475 i: 1431 ha.loc[0,'a'] 6881\n",
      "list(a)[0]: 6881 time: 0.042609214782714844 lenp(ha): 0.23072761698674601 rate: 0.00439276362543701 i: 1432 ha.loc[0,'a'] 801\n",
      "list(a)[0]: 801 time: 0.04411625862121582 lenp(ha): 0.23045712740059507 rate: 0.004383224507900774 i: 1433 ha.loc[0,'a'] 3925\n",
      "list(a)[0]: 3925 time: 0.02456521987915039 lenp(ha): 0.23018663781444415 rate: 0.004373685390364537 i: 1434 ha.loc[0,'a'] 7540\n",
      "list(a)[0]: 7540 time: 0.04110860824584961 lenp(ha): 0.2299161482282932 rate: 0.004364146272828301 i: 1435 ha.loc[0,'a'] 1692\n",
      "list(a)[0]: 1692 time: 0.038100481033325195 lenp(ha): 0.2296456586421423 rate: 0.004354607155292064 i: 1436 ha.loc[0,'a'] 2781\n",
      "list(a)[0]: 2781 time: 0.03713250160217285 lenp(ha): 0.22937516905599134 rate: 0.004345068037755827 i: 1437 ha.loc[0,'a'] 7591\n",
      "list(a)[0]: 7591 time: 0.03760027885437012 lenp(ha): 0.22910467946984042 rate: 0.004335528920219591 i: 1438 ha.loc[0,'a'] 1533\n",
      "list(a)[0]: 1533 time: 0.03910422325134277 lenp(ha): 0.22883418988368948 rate: 0.0043259898026833535 i: 1439 ha.loc[0,'a'] 8117\n",
      "list(a)[0]: 8117 time: 0.04913020133972168 lenp(ha): 0.22856370029753856 rate: 0.004316450685147117 i: 1440 ha.loc[0,'a'] 6031\n",
      "list(a)[0]: 6031 time: 0.029076576232910156 lenp(ha): 0.2282932107113876 rate: 0.00430691156761088 i: 1441 ha.loc[0,'a'] 6894\n",
      "list(a)[0]: 6894 time: 0.0456233024597168 lenp(ha): 0.22802272112523667 rate: 0.004297372450074643 i: 1442 ha.loc[0,'a'] 2375\n",
      "list(a)[0]: 2375 time: 0.05013322830200195 lenp(ha): 0.22775223153908575 rate: 0.004287833332538407 i: 1443 ha.loc[0,'a'] 8423\n",
      "list(a)[0]: 8423 time: 0.031583309173583984 lenp(ha): 0.2274817419529348 rate: 0.00427829421500217 i: 1444 ha.loc[0,'a'] 6980\n",
      "list(a)[0]: 6980 time: 0.06316637992858887 lenp(ha): 0.22721125236678388 rate: 0.004268755097465934 i: 1445 ha.loc[0,'a'] 8078\n",
      "list(a)[0]: 8078 time: 0.026068925857543945 lenp(ha): 0.22694076278063294 rate: 0.004259215979929697 i: 1446 ha.loc[0,'a'] 8177\n",
      "list(a)[0]: 8177 time: 0.03509330749511719 lenp(ha): 0.22667027319448202 rate: 0.00424967686239346 i: 1447 ha.loc[0,'a'] 8380\n",
      "list(a)[0]: 8380 time: 0.041109561920166016 lenp(ha): 0.22639978360833107 rate: 0.004240137744857223 i: 1448 ha.loc[0,'a'] 5574\n",
      "list(a)[0]: 5574 time: 0.04562067985534668 lenp(ha): 0.22612929402218016 rate: 0.004230598627320986 i: 1449 ha.loc[0,'a'] 3553\n",
      "list(a)[0]: 3553 time: 0.045120954513549805 lenp(ha): 0.2258588044360292 rate: 0.00422105950978475 i: 1450 ha.loc[0,'a'] 5845\n",
      "list(a)[0]: 5845 time: 0.04562187194824219 lenp(ha): 0.2255883148498783 rate: 0.004211520392248513 i: 1451 ha.loc[0,'a'] 554\n",
      "list(a)[0]: 554 time: 0.034590959548950195 lenp(ha): 0.22531782526372734 rate: 0.004201981274712276 i: 1452 ha.loc[0,'a'] 8342\n",
      "list(a)[0]: 8342 time: 0.05113506317138672 lenp(ha): 0.22504733567757643 rate: 0.00419244215717604 i: 1453 ha.loc[0,'a'] 8322\n",
      "list(a)[0]: 8322 time: 0.04010629653930664 lenp(ha): 0.22477684609142548 rate: 0.004182903039639803 i: 1454 ha.loc[0,'a'] 8064\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 8064 time: 0.04110980033874512 lenp(ha): 0.22450635650527453 rate: 0.0041733639221035665 i: 1455 ha.loc[0,'a'] 1392\n",
      "list(a)[0]: 1392 time: 0.05464577674865723 lenp(ha): 0.22423586691912362 rate: 0.004163824804567329 i: 1456 ha.loc[0,'a'] 8157\n",
      "list(a)[0]: 8157 time: 0.03058004379272461 lenp(ha): 0.22396537733297267 rate: 0.004154285687031092 i: 1457 ha.loc[0,'a'] 8487\n",
      "list(a)[0]: 8487 time: 0.0591588020324707 lenp(ha): 0.22369488774682175 rate: 0.004144746569494856 i: 1458 ha.loc[0,'a'] 3795\n",
      "list(a)[0]: 3795 time: 0.048127174377441406 lenp(ha): 0.2234243981606708 rate: 0.004135207451958619 i: 1459 ha.loc[0,'a'] 4388\n",
      "list(a)[0]: 4388 time: 0.027573347091674805 lenp(ha): 0.2231539085745199 rate: 0.004125668334422383 i: 1460 ha.loc[0,'a'] 4574\n",
      "list(a)[0]: 4574 time: 0.03158426284790039 lenp(ha): 0.22288341898836894 rate: 0.004116129216886146 i: 1461 ha.loc[0,'a'] 6381\n",
      "list(a)[0]: 6381 time: 0.04712533950805664 lenp(ha): 0.22261292940221802 rate: 0.004106590099349909 i: 1462 ha.loc[0,'a'] 5711\n",
      "list(a)[0]: 5711 time: 0.045621633529663086 lenp(ha): 0.22234243981606708 rate: 0.0040970509818136725 i: 1463 ha.loc[0,'a'] 5127\n",
      "list(a)[0]: 5127 time: 0.04963231086730957 lenp(ha): 0.22207195022991616 rate: 0.0040875118642774355 i: 1464 ha.loc[0,'a'] 36\n",
      "list(a)[0]: 36 time: 0.12082219123840332 lenp(ha): 0.2218014606437652 rate: 0.004077972746741199 i: 1465 ha.loc[0,'a'] 6398\n",
      "list(a)[0]: 6398 time: 0.07770562171936035 lenp(ha): 0.2215309710576143 rate: 0.004068433629204962 i: 1466 ha.loc[0,'a'] 4882\n",
      "list(a)[0]: 4882 time: 0.033087730407714844 lenp(ha): 0.22126048147146335 rate: 0.004058894511668725 i: 1467 ha.loc[0,'a'] 2757\n",
      "list(a)[0]: 2757 time: 0.04612278938293457 lenp(ha): 0.2209899918853124 rate: 0.004049355394132489 i: 1468 ha.loc[0,'a'] 5486\n",
      "list(a)[0]: 5486 time: 0.0726935863494873 lenp(ha): 0.22071950229916149 rate: 0.004039816276596252 i: 1469 ha.loc[0,'a'] 8304\n",
      "list(a)[0]: 8304 time: 0.0451204776763916 lenp(ha): 0.22044901271301054 rate: 0.004030277159060016 i: 1470 ha.loc[0,'a'] 6117\n",
      "list(a)[0]: 6117 time: 0.03910326957702637 lenp(ha): 0.22017852312685962 rate: 0.004020738041523779 i: 1471 ha.loc[0,'a'] 1351\n",
      "list(a)[0]: 1351 time: 0.029578447341918945 lenp(ha): 0.21990803354070868 rate: 0.0040111989239875415 i: 1472 ha.loc[0,'a'] 1813\n",
      "list(a)[0]: 1813 time: 0.03358960151672363 lenp(ha): 0.21963754395455776 rate: 0.004001659806451305 i: 1473 ha.loc[0,'a'] 8351\n",
      "list(a)[0]: 8351 time: 0.03208494186401367 lenp(ha): 0.2193670543684068 rate: 0.003992120688915068 i: 1474 ha.loc[0,'a'] 6092\n",
      "list(a)[0]: 6092 time: 0.04511761665344238 lenp(ha): 0.2190965647822559 rate: 0.003982581571378832 i: 1475 ha.loc[0,'a'] 3287\n",
      "list(a)[0]: 3287 time: 0.04411578178405762 lenp(ha): 0.21882607519610495 rate: 0.003973042453842595 i: 1476 ha.loc[0,'a'] 7896\n",
      "list(a)[0]: 7896 time: 0.03963446617126465 lenp(ha): 0.21855558560995403 rate: 0.003963503336306358 i: 1477 ha.loc[0,'a'] 1324\n",
      "list(a)[0]: 1324 time: 0.03609585762023926 lenp(ha): 0.21828509602380308 rate: 0.003953964218770122 i: 1478 ha.loc[0,'a'] 1404\n",
      "list(a)[0]: 1404 time: 0.04160928726196289 lenp(ha): 0.21801460643765216 rate: 0.003944425101233885 i: 1479 ha.loc[0,'a'] 4414\n",
      "list(a)[0]: 4414 time: 0.04211282730102539 lenp(ha): 0.21774411685150122 rate: 0.0039348859836976485 i: 1480 ha.loc[0,'a'] 3981\n",
      "list(a)[0]: 3981 time: 0.03760075569152832 lenp(ha): 0.21747362726535027 rate: 0.003925346866161411 i: 1481 ha.loc[0,'a'] 1724\n",
      "list(a)[0]: 1724 time: 0.04261326789855957 lenp(ha): 0.21720313767919935 rate: 0.003915807748625174 i: 1482 ha.loc[0,'a'] 5903\n",
      "list(a)[0]: 5903 time: 0.03358817100524902 lenp(ha): 0.2169326480930484 rate: 0.003906268631088938 i: 1483 ha.loc[0,'a'] 1133\n",
      "list(a)[0]: 1133 time: 0.04311561584472656 lenp(ha): 0.2166621585068975 rate: 0.003896729513552701 i: 1484 ha.loc[0,'a'] 6727\n",
      "list(a)[0]: 6727 time: 0.032587289810180664 lenp(ha): 0.21639166892074654 rate: 0.0038871903960164644 i: 1485 ha.loc[0,'a'] 2583\n",
      "list(a)[0]: 2583 time: 0.035093069076538086 lenp(ha): 0.21612117933459563 rate: 0.0038776512784802278 i: 1486 ha.loc[0,'a'] 6290\n",
      "list(a)[0]: 6290 time: 0.03409123420715332 lenp(ha): 0.21585068974844468 rate: 0.003868112160943991 i: 1487 ha.loc[0,'a'] 7747\n",
      "list(a)[0]: 7747 time: 0.03409075736999512 lenp(ha): 0.21558020016229376 rate: 0.0038585730434077545 i: 1488 ha.loc[0,'a'] 21\n",
      "list(a)[0]: 21 time: 0.032617807388305664 lenp(ha): 0.21530971057614282 rate: 0.0038490339258715174 i: 1489 ha.loc[0,'a'] 2067\n",
      "list(a)[0]: 2067 time: 0.03362131118774414 lenp(ha): 0.2150392209899919 rate: 0.003839494808335281 i: 1490 ha.loc[0,'a'] 879\n",
      "list(a)[0]: 879 time: 0.04113960266113281 lenp(ha): 0.21476873140384095 rate: 0.003829955690799044 i: 1491 ha.loc[0,'a'] 1493\n",
      "list(a)[0]: 1493 time: 0.026070117950439453 lenp(ha): 0.21449824181769 rate: 0.0038204165732628075 i: 1492 ha.loc[0,'a'] 6567\n",
      "list(a)[0]: 6567 time: 0.04762768745422363 lenp(ha): 0.2142277522315391 rate: 0.003810877455726571 i: 1493 ha.loc[0,'a'] 8121\n",
      "list(a)[0]: 8121 time: 0.04211091995239258 lenp(ha): 0.21395726264538814 rate: 0.003801338338190334 i: 1494 ha.loc[0,'a'] 8419\n",
      "list(a)[0]: 8419 time: 0.03258657455444336 lenp(ha): 0.21368677305923722 rate: 0.003791799220654097 i: 1495 ha.loc[0,'a'] 92\n",
      "list(a)[0]: 92 time: 0.050634145736694336 lenp(ha): 0.21341628347308628 rate: 0.0037822601031178606 i: 1496 ha.loc[0,'a'] 1330\n",
      "list(a)[0]: 1330 time: 0.0345914363861084 lenp(ha): 0.21314579388693536 rate: 0.003772720985581624 i: 1497 ha.loc[0,'a'] 1606\n",
      "list(a)[0]: 1606 time: 0.04615354537963867 lenp(ha): 0.2128753043007844 rate: 0.0037631818680453873 i: 1498 ha.loc[0,'a'] 8225\n",
      "list(a)[0]: 8225 time: 0.030580997467041016 lenp(ha): 0.2126048147146335 rate: 0.0037536427505091502 i: 1499 ha.loc[0,'a'] 1098\n",
      "list(a)[0]: 1098 time: 0.045614004135131836 lenp(ha): 0.21233432512848255 rate: 0.0037441036329729136 i: 1500 ha.loc[0,'a'] 874\n",
      "list(a)[0]: 874 time: 0.025567054748535156 lenp(ha): 0.21206383554233163 rate: 0.0037393340742047955 i: 1501 ha.loc[0,'a'] 3388\n",
      "list(a)[0]: 3388 time: 0.018549203872680664 lenp(ha): 0.21179334595618068 rate: 0.003734564515436677 i: 1502 ha.loc[0,'a'] 6325\n",
      "list(a)[0]: 6325 time: 0.028045177459716797 lenp(ha): 0.21152285637002977 rate: 0.0037297949566685584 i: 1503 ha.loc[0,'a'] 527\n",
      "list(a)[0]: 527 time: 0.016544103622436523 lenp(ha): 0.21125236678387882 rate: 0.0037250253979004403 i: 1504 ha.loc[0,'a'] 6595\n",
      "list(a)[0]: 6595 time: 0.017547130584716797 lenp(ha): 0.21098187719772787 rate: 0.003720255839132322 i: 1505 ha.loc[0,'a'] 7266\n",
      "list(a)[0]: 7266 time: 0.02653789520263672 lenp(ha): 0.21071138761157696 rate: 0.0037154862803642037 i: 1506 ha.loc[0,'a'] 2628\n",
      "list(a)[0]: 2628 time: 0.0170438289642334 lenp(ha): 0.210440898025426 rate: 0.003710716721596085 i: 1507 ha.loc[0,'a'] 2996\n",
      "list(a)[0]: 2996 time: 0.022057294845581055 lenp(ha): 0.2101704084392751 rate: 0.0037059471628279666 i: 1508 ha.loc[0,'a'] 5243\n",
      "list(a)[0]: 5243 time: 0.023061275482177734 lenp(ha): 0.20989991885312415 rate: 0.0037011776040598485 i: 1509 ha.loc[0,'a'] 5100\n",
      "list(a)[0]: 5100 time: 0.024565458297729492 lenp(ha): 0.20962942926697323 rate: 0.00369640804529173 i: 1510 ha.loc[0,'a'] 183\n",
      "list(a)[0]: 183 time: 0.023061513900756836 lenp(ha): 0.20935893968082228 rate: 0.003691638486523612 i: 1511 ha.loc[0,'a'] 5396\n",
      "list(a)[0]: 5396 time: 0.017044782638549805 lenp(ha): 0.20908845009467136 rate: 0.0036868689277554934 i: 1512 ha.loc[0,'a'] 4864\n",
      "list(a)[0]: 4864 time: 0.01804804801940918 lenp(ha): 0.20881796050852042 rate: 0.003682099368987375 i: 1513 ha.loc[0,'a'] 1028\n",
      "list(a)[0]: 1028 time: 0.020053863525390625 lenp(ha): 0.2085474709223695 rate: 0.0036773298102192567 i: 1514 ha.loc[0,'a'] 5226\n",
      "list(a)[0]: 5226 time: 0.021557331085205078 lenp(ha): 0.20827698133621855 rate: 0.003672560251451138 i: 1515 ha.loc[0,'a'] 3953\n",
      "list(a)[0]: 3953 time: 0.02105545997619629 lenp(ha): 0.20800649175006763 rate: 0.00366779069268302 i: 1516 ha.loc[0,'a'] 2078\n",
      "list(a)[0]: 2078 time: 0.029580116271972656 lenp(ha): 0.2077360021639167 rate: 0.0036630211339149015 i: 1517 ha.loc[0,'a'] 3429\n",
      "list(a)[0]: 3429 time: 0.016544580459594727 lenp(ha): 0.20746551257776574 rate: 0.003658251575146783 i: 1518 ha.loc[0,'a'] 1978\n",
      "list(a)[0]: 1978 time: 0.017076492309570312 lenp(ha): 0.20719502299161482 rate: 0.003653482016378665 i: 1519 ha.loc[0,'a'] 3034\n",
      "list(a)[0]: 3034 time: 0.019049406051635742 lenp(ha): 0.20692453340546388 rate: 0.0036487124576105464 i: 1520 ha.loc[0,'a'] 1224\n",
      "list(a)[0]: 1224 time: 0.021555662155151367 lenp(ha): 0.20665404381931296 rate: 0.0036439428988424283 i: 1521 ha.loc[0,'a'] 2032\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2032 time: 0.02255988121032715 lenp(ha): 0.20638355423316201 rate: 0.0036391733400743097 i: 1522 ha.loc[0,'a'] 677\n",
      "list(a)[0]: 677 time: 0.029078006744384766 lenp(ha): 0.2061130646470111 rate: 0.003634403781306191 i: 1523 ha.loc[0,'a'] 4535\n",
      "list(a)[0]: 4535 time: 0.017547130584716797 lenp(ha): 0.20584257506086015 rate: 0.003629634222538073 i: 1524 ha.loc[0,'a'] 2561\n",
      "list(a)[0]: 2561 time: 0.023061752319335938 lenp(ha): 0.20557208547470923 rate: 0.0036248646637699546 i: 1525 ha.loc[0,'a'] 1701\n",
      "list(a)[0]: 1701 time: 0.02256011962890625 lenp(ha): 0.20530159588855829 rate: 0.0036200951050018365 i: 1526 ha.loc[0,'a'] 2145\n",
      "list(a)[0]: 2145 time: 0.019551992416381836 lenp(ha): 0.20503110630240737 rate: 0.003615325546233718 i: 1527 ha.loc[0,'a'] 8398\n",
      "list(a)[0]: 8398 time: 0.02155780792236328 lenp(ha): 0.20476061671625642 rate: 0.0036105559874655994 i: 1528 ha.loc[0,'a'] 1818\n",
      "list(a)[0]: 1818 time: 0.01804804801940918 lenp(ha): 0.2044901271301055 rate: 0.0036057864286974813 i: 1529 ha.loc[0,'a'] 250\n",
      "list(a)[0]: 250 time: 0.028074979782104492 lenp(ha): 0.20421963754395456 rate: 0.0036010168699293628 i: 1530 ha.loc[0,'a'] 3700\n",
      "list(a)[0]: 3700 time: 0.028074264526367188 lenp(ha): 0.2039491479578036 rate: 0.0035962473111612447 i: 1531 ha.loc[0,'a'] 7081\n",
      "list(a)[0]: 7081 time: 0.019551992416381836 lenp(ha): 0.2036786583716527 rate: 0.003591477752393126 i: 1532 ha.loc[0,'a'] 5028\n",
      "list(a)[0]: 5028 time: 0.03258562088012695 lenp(ha): 0.20340816878550175 rate: 0.0035867081936250076 i: 1533 ha.loc[0,'a'] 8525\n",
      "list(a)[0]: 8525 time: 0.02356243133544922 lenp(ha): 0.20313767919935083 rate: 0.0035819386348568895 i: 1534 ha.loc[0,'a'] 4431\n",
      "list(a)[0]: 4431 time: 0.019049644470214844 lenp(ha): 0.20286718961319988 rate: 0.003577169076088771 i: 1535 ha.loc[0,'a'] 3828\n",
      "list(a)[0]: 3828 time: 0.019051313400268555 lenp(ha): 0.20259670002704896 rate: 0.003572399517320653 i: 1536 ha.loc[0,'a'] 495\n",
      "list(a)[0]: 495 time: 0.03559541702270508 lenp(ha): 0.20232621044089802 rate: 0.0035676299585525343 i: 1537 ha.loc[0,'a'] 8219\n",
      "list(a)[0]: 8219 time: 0.020832538604736328 lenp(ha): 0.2020557208547471 rate: 0.003562860399784416 i: 1538 ha.loc[0,'a'] 7312\n",
      "list(a)[0]: 7312 time: 0.01801300048828125 lenp(ha): 0.20178523126859615 rate: 0.0035580908410162977 i: 1539 ha.loc[0,'a'] 1290\n",
      "list(a)[0]: 1290 time: 0.01905083656311035 lenp(ha): 0.20151474168244524 rate: 0.003553321282248179 i: 1540 ha.loc[0,'a'] 4548\n",
      "list(a)[0]: 4548 time: 0.019550561904907227 lenp(ha): 0.2012442520962943 rate: 0.003548551723480061 i: 1541 ha.loc[0,'a'] 1267\n",
      "list(a)[0]: 1267 time: 0.01865220069885254 lenp(ha): 0.20097376251014337 rate: 0.0035437821647119425 i: 1542 ha.loc[0,'a'] 1393\n",
      "list(a)[0]: 1393 time: 0.017546415328979492 lenp(ha): 0.20070327292399243 rate: 0.003539012605943824 i: 1543 ha.loc[0,'a'] 569\n",
      "list(a)[0]: 569 time: 0.023059844970703125 lenp(ha): 0.20043278333784148 rate: 0.003534243047175706 i: 1544 ha.loc[0,'a'] 2882\n",
      "list(a)[0]: 2882 time: 0.03358936309814453 lenp(ha): 0.20016229375169056 rate: 0.0035294734884075874 i: 1545 ha.loc[0,'a'] 8840\n",
      "list(a)[0]: 8840 time: 0.017545461654663086 lenp(ha): 0.19989180416553962 rate: 0.0035247039296394693 i: 1546 ha.loc[0,'a'] 911\n",
      "list(a)[0]: 911 time: 0.019049882888793945 lenp(ha): 0.1996213145793887 rate: 0.0035199343708713507 i: 1547 ha.loc[0,'a'] 6102\n",
      "list(a)[0]: 6102 time: 0.02857661247253418 lenp(ha): 0.19935082499323775 rate: 0.003515164812103232 i: 1548 ha.loc[0,'a'] 4568\n",
      "list(a)[0]: 4568 time: 0.01804804801940918 lenp(ha): 0.19908033540708683 rate: 0.003510395253335114 i: 1549 ha.loc[0,'a'] 1147\n",
      "list(a)[0]: 1147 time: 0.01754617691040039 lenp(ha): 0.1988098458209359 rate: 0.0035056256945669956 i: 1550 ha.loc[0,'a'] 6813\n",
      "list(a)[0]: 6813 time: 0.03409004211425781 lenp(ha): 0.19853935623478497 rate: 0.0035008561357988775 i: 1551 ha.loc[0,'a'] 8827\n",
      "list(a)[0]: 8827 time: 0.018549680709838867 lenp(ha): 0.19826886664863402 rate: 0.003496086577030759 i: 1552 ha.loc[0,'a'] 5331\n",
      "list(a)[0]: 5331 time: 0.024565935134887695 lenp(ha): 0.1979983770624831 rate: 0.0034913170182626404 i: 1553 ha.loc[0,'a'] 5946\n",
      "list(a)[0]: 5946 time: 0.025568723678588867 lenp(ha): 0.19772788747633216 rate: 0.0034865474594945223 i: 1554 ha.loc[0,'a'] 7566\n",
      "list(a)[0]: 7566 time: 0.01704549789428711 lenp(ha): 0.19745739789018124 rate: 0.0034817779007264038 i: 1555 ha.loc[0,'a'] 7265\n",
      "list(a)[0]: 7265 time: 0.018548250198364258 lenp(ha): 0.1971869083040303 rate: 0.0034770083419582857 i: 1556 ha.loc[0,'a'] 2451\n",
      "list(a)[0]: 2451 time: 0.025066614151000977 lenp(ha): 0.19691641871787935 rate: 0.003472238783190167 i: 1557 ha.loc[0,'a'] 6638\n",
      "list(a)[0]: 6638 time: 0.030580997467041016 lenp(ha): 0.19664592913172843 rate: 0.0034674692244220486 i: 1558 ha.loc[0,'a'] 2083\n",
      "list(a)[0]: 2083 time: 0.021055221557617188 lenp(ha): 0.19637543954557748 rate: 0.0034626996656539305 i: 1559 ha.loc[0,'a'] 2240\n",
      "list(a)[0]: 2240 time: 0.019083261489868164 lenp(ha): 0.19610494995942657 rate: 0.003457930106885812 i: 1560 ha.loc[0,'a'] 3891\n",
      "list(a)[0]: 3891 time: 0.0170745849609375 lenp(ha): 0.19583446037327562 rate: 0.0034531605481176934 i: 1561 ha.loc[0,'a'] 4159\n",
      "list(a)[0]: 4159 time: 0.028042078018188477 lenp(ha): 0.1955639707871247 rate: 0.0034483909893495753 i: 1562 ha.loc[0,'a'] 7417\n",
      "list(a)[0]: 7417 time: 0.019583463668823242 lenp(ha): 0.19529348120097376 rate: 0.0034436214305814568 i: 1563 ha.loc[0,'a'] 3092\n",
      "list(a)[0]: 3092 time: 0.018550395965576172 lenp(ha): 0.19502299161482284 rate: 0.0034388518718133387 i: 1564 ha.loc[0,'a'] 678\n",
      "list(a)[0]: 678 time: 0.017546653747558594 lenp(ha): 0.1947525020286719 rate: 0.00343408231304522 i: 1565 ha.loc[0,'a'] 7187\n",
      "list(a)[0]: 7187 time: 0.026067733764648438 lenp(ha): 0.19448201244252097 rate: 0.0034293127542771016 i: 1566 ha.loc[0,'a'] 2485\n",
      "list(a)[0]: 2485 time: 0.016543865203857422 lenp(ha): 0.19421152285637003 rate: 0.0034245431955089835 i: 1567 ha.loc[0,'a'] 7339\n",
      "list(a)[0]: 7339 time: 0.018548965454101562 lenp(ha): 0.1939410332702191 rate: 0.003419773636740865 i: 1568 ha.loc[0,'a'] 289\n",
      "list(a)[0]: 289 time: 0.022058486938476562 lenp(ha): 0.19367054368406816 rate: 0.003415004077972747 i: 1569 ha.loc[0,'a'] 671\n",
      "list(a)[0]: 671 time: 0.027573823928833008 lenp(ha): 0.19340005409791722 rate: 0.0034102345192046283 i: 1570 ha.loc[0,'a'] 2929\n",
      "list(a)[0]: 2929 time: 0.02356266975402832 lenp(ha): 0.1931295645117663 rate: 0.00340546496043651 i: 1571 ha.loc[0,'a'] 1216\n",
      "list(a)[0]: 1216 time: 0.02005290985107422 lenp(ha): 0.19285907492561535 rate: 0.0034006954016683917 i: 1572 ha.loc[0,'a'] 6636\n",
      "list(a)[0]: 6636 time: 0.028560876846313477 lenp(ha): 0.19258858533946444 rate: 0.003395925842900273 i: 1573 ha.loc[0,'a'] 7507\n",
      "list(a)[0]: 7507 time: 0.01804947853088379 lenp(ha): 0.1923180957533135 rate: 0.003391156284132155 i: 1574 ha.loc[0,'a'] 3157\n",
      "list(a)[0]: 3157 time: 0.030077457427978516 lenp(ha): 0.19204760616716257 rate: 0.0033863867253640365 i: 1575 ha.loc[0,'a'] 3626\n",
      "list(a)[0]: 3626 time: 0.0591578483581543 lenp(ha): 0.19177711658101163 rate: 0.003381617166595918 i: 1576 ha.loc[0,'a'] 428\n",
      "list(a)[0]: 428 time: 0.029580116271972656 lenp(ha): 0.1915066269948607 rate: 0.0033768476078278 i: 1577 ha.loc[0,'a'] 1697\n",
      "list(a)[0]: 1697 time: 0.018549680709838867 lenp(ha): 0.19123613740870976 rate: 0.0033720780490596814 i: 1578 ha.loc[0,'a'] 5418\n",
      "list(a)[0]: 5418 time: 0.01804804801940918 lenp(ha): 0.19096564782255884 rate: 0.0033673084902915633 i: 1579 ha.loc[0,'a'] 3026\n",
      "list(a)[0]: 3026 time: 0.032091379165649414 lenp(ha): 0.1906951582364079 rate: 0.0033625389315234447 i: 1580 ha.loc[0,'a'] 6192\n",
      "list(a)[0]: 6192 time: 0.03308439254760742 lenp(ha): 0.19042466865025698 rate: 0.003357769372755326 i: 1581 ha.loc[0,'a'] 895\n",
      "list(a)[0]: 895 time: 0.04963183403015137 lenp(ha): 0.19015417906410603 rate: 0.003352999813987208 i: 1582 ha.loc[0,'a'] 8544\n",
      "list(a)[0]: 8544 time: 0.01955246925354004 lenp(ha): 0.1898836894779551 rate: 0.0033482302552190896 i: 1583 ha.loc[0,'a'] 7510\n",
      "list(a)[0]: 7510 time: 0.017045259475708008 lenp(ha): 0.18961319989180417 rate: 0.0033434606964509715 i: 1584 ha.loc[0,'a'] 1988\n",
      "list(a)[0]: 1988 time: 0.020555496215820312 lenp(ha): 0.18934271030565322 rate: 0.003338691137682853 i: 1585 ha.loc[0,'a'] 8604\n",
      "list(a)[0]: 8604 time: 0.022560834884643555 lenp(ha): 0.1890722207195023 rate: 0.0033339215789147344 i: 1586 ha.loc[0,'a'] 6816\n",
      "list(a)[0]: 6816 time: 0.021556854248046875 lenp(ha): 0.18880173113335136 rate: 0.0033291520201466163 i: 1587 ha.loc[0,'a'] 6782\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 6782 time: 0.022562742233276367 lenp(ha): 0.18853124154720044 rate: 0.0033243824613784978 i: 1588 ha.loc[0,'a'] 3135\n",
      "list(a)[0]: 3135 time: 0.023562192916870117 lenp(ha): 0.1882607519610495 rate: 0.0033196129026103797 i: 1589 ha.loc[0,'a'] 5416\n",
      "list(a)[0]: 5416 time: 0.05414462089538574 lenp(ha): 0.18799026237489858 rate: 0.003314843343842261 i: 1590 ha.loc[0,'a'] 1005\n",
      "list(a)[0]: 1005 time: 0.04060935974121094 lenp(ha): 0.18771977278874763 rate: 0.0033100737850741426 i: 1591 ha.loc[0,'a'] 4755\n",
      "list(a)[0]: 4755 time: 0.018549203872680664 lenp(ha): 0.1874492832025967 rate: 0.0033053042263060245 i: 1592 ha.loc[0,'a'] 7253\n",
      "list(a)[0]: 7253 time: 0.024564743041992188 lenp(ha): 0.18717879361644577 rate: 0.003300534667537906 i: 1593 ha.loc[0,'a'] 8255\n",
      "list(a)[0]: 8255 time: 0.019583702087402344 lenp(ha): 0.18690830403029485 rate: 0.003295765108769788 i: 1594 ha.loc[0,'a'] 2557\n",
      "list(a)[0]: 2557 time: 0.05765056610107422 lenp(ha): 0.1866378144441439 rate: 0.0032909955500016693 i: 1595 ha.loc[0,'a'] 2230\n",
      "list(a)[0]: 2230 time: 0.025572776794433594 lenp(ha): 0.18636732485799296 rate: 0.003286225991233551 i: 1596 ha.loc[0,'a'] 1442\n",
      "list(a)[0]: 1442 time: 0.019549131393432617 lenp(ha): 0.18609683527184204 rate: 0.0032814564324654327 i: 1597 ha.loc[0,'a'] 4931\n",
      "list(a)[0]: 4931 time: 0.019051074981689453 lenp(ha): 0.1858263456856911 rate: 0.003276686873697314 i: 1598 ha.loc[0,'a'] 881\n",
      "list(a)[0]: 881 time: 0.019551753997802734 lenp(ha): 0.18555585609954017 rate: 0.003271917314929196 i: 1599 ha.loc[0,'a'] 7616\n",
      "list(a)[0]: 7616 time: 0.04060769081115723 lenp(ha): 0.18528536651338923 rate: 0.0032671477561610775 i: 1600 ha.loc[0,'a'] 6145\n",
      "list(a)[0]: 6145 time: 0.038100481033325195 lenp(ha): 0.1850148769272383 rate: 0.003262378197392959 i: 1601 ha.loc[0,'a'] 4274\n",
      "list(a)[0]: 4274 time: 0.05314135551452637 lenp(ha): 0.18474438734108736 rate: 0.003257608638624841 i: 1602 ha.loc[0,'a'] 5406\n",
      "list(a)[0]: 5406 time: 0.025568008422851562 lenp(ha): 0.18447389775493644 rate: 0.0032528390798567224 i: 1603 ha.loc[0,'a'] 5078\n",
      "list(a)[0]: 5078 time: 0.02356266975402832 lenp(ha): 0.1842034081687855 rate: 0.0032480695210886043 i: 1604 ha.loc[0,'a'] 7116\n",
      "list(a)[0]: 7116 time: 0.024065017700195312 lenp(ha): 0.18393291858263458 rate: 0.0032432999623204857 i: 1605 ha.loc[0,'a'] 3295\n",
      "list(a)[0]: 3295 time: 0.05515098571777344 lenp(ha): 0.18366242899648363 rate: 0.003238530403552367 i: 1606 ha.loc[0,'a'] 6642\n",
      "list(a)[0]: 6642 time: 0.05715179443359375 lenp(ha): 0.18339193941033272 rate: 0.003233760844784249 i: 1607 ha.loc[0,'a'] 1578\n",
      "list(a)[0]: 1578 time: 0.03157496452331543 lenp(ha): 0.18312144982418177 rate: 0.0032289912860161306 i: 1608 ha.loc[0,'a'] 4069\n",
      "list(a)[0]: 4069 time: 0.019551515579223633 lenp(ha): 0.18285096023803082 rate: 0.0032242217272480125 i: 1609 ha.loc[0,'a'] 4153\n",
      "list(a)[0]: 4153 time: 0.02707219123840332 lenp(ha): 0.1825804706518799 rate: 0.003219452168479894 i: 1610 ha.loc[0,'a'] 920\n",
      "list(a)[0]: 920 time: 0.024565458297729492 lenp(ha): 0.18230998106572896 rate: 0.0032146826097117754 i: 1611 ha.loc[0,'a'] 4987\n",
      "list(a)[0]: 4987 time: 0.04261279106140137 lenp(ha): 0.18203949147957804 rate: 0.0032099130509436573 i: 1612 ha.loc[0,'a'] 7126\n",
      "list(a)[0]: 7126 time: 0.04311323165893555 lenp(ha): 0.1817690018934271 rate: 0.0032051434921755387 i: 1613 ha.loc[0,'a'] 3417\n",
      "list(a)[0]: 3417 time: 0.018550395965576172 lenp(ha): 0.18149851230727618 rate: 0.0032003739334074206 i: 1614 ha.loc[0,'a'] 4840\n",
      "list(a)[0]: 4840 time: 0.020052194595336914 lenp(ha): 0.18122802272112523 rate: 0.003195604374639302 i: 1615 ha.loc[0,'a'] 761\n",
      "list(a)[0]: 761 time: 0.02957892417907715 lenp(ha): 0.1809575331349743 rate: 0.0031908348158711836 i: 1616 ha.loc[0,'a'] 3425\n",
      "list(a)[0]: 3425 time: 0.06166362762451172 lenp(ha): 0.18068704354882337 rate: 0.0031860652571030655 i: 1617 ha.loc[0,'a'] 630\n",
      "list(a)[0]: 630 time: 0.03408932685852051 lenp(ha): 0.18041655396267245 rate: 0.003181295698334947 i: 1618 ha.loc[0,'a'] 8522\n",
      "list(a)[0]: 8522 time: 0.0240631103515625 lenp(ha): 0.1801460643765215 rate: 0.003176526139566829 i: 1619 ha.loc[0,'a'] 8261\n",
      "list(a)[0]: 8261 time: 0.02355647087097168 lenp(ha): 0.17987557479037056 rate: 0.0031717565807987103 i: 1620 ha.loc[0,'a'] 3310\n",
      "list(a)[0]: 3310 time: 0.018549680709838867 lenp(ha): 0.17960508520421964 rate: 0.0031669870220305918 i: 1621 ha.loc[0,'a'] 8830\n",
      "list(a)[0]: 8830 time: 0.023563385009765625 lenp(ha): 0.1793345956180687 rate: 0.0031622174632624737 i: 1622 ha.loc[0,'a'] 7291\n",
      "list(a)[0]: 7291 time: 0.01905059814453125 lenp(ha): 0.17906410603191777 rate: 0.003157447904494355 i: 1623 ha.loc[0,'a'] 5984\n",
      "list(a)[0]: 5984 time: 0.02657008171081543 lenp(ha): 0.17879361644576683 rate: 0.003152678345726237 i: 1624 ha.loc[0,'a'] 6137\n",
      "list(a)[0]: 6137 time: 0.024566173553466797 lenp(ha): 0.1785231268596159 rate: 0.0031479087869581185 i: 1625 ha.loc[0,'a'] 6128\n",
      "list(a)[0]: 6128 time: 0.020554780960083008 lenp(ha): 0.17825263727346496 rate: 0.00314313922819 i: 1626 ha.loc[0,'a'] 4285\n",
      "list(a)[0]: 4285 time: 0.025065183639526367 lenp(ha): 0.17798214768731405 rate: 0.003138369669421882 i: 1627 ha.loc[0,'a'] 7611\n",
      "list(a)[0]: 7611 time: 0.02506709098815918 lenp(ha): 0.1777116581011631 rate: 0.0031336001106537633 i: 1628 ha.loc[0,'a'] 1757\n",
      "list(a)[0]: 1757 time: 0.026069164276123047 lenp(ha): 0.17744116851501218 rate: 0.0031288305518856452 i: 1629 ha.loc[0,'a'] 5230\n",
      "list(a)[0]: 5230 time: 0.02606964111328125 lenp(ha): 0.17717067892886124 rate: 0.0031240609931175267 i: 1630 ha.loc[0,'a'] 4793\n",
      "list(a)[0]: 4793 time: 0.01905059814453125 lenp(ha): 0.17690018934271032 rate: 0.003119291434349408 i: 1631 ha.loc[0,'a'] 5383\n",
      "list(a)[0]: 5383 time: 0.017060279846191406 lenp(ha): 0.17662969975655937 rate: 0.00311452187558129 i: 1632 ha.loc[0,'a'] 1794\n",
      "list(a)[0]: 1794 time: 0.0255734920501709 lenp(ha): 0.17635921017040843 rate: 0.0031097523168131715 i: 1633 ha.loc[0,'a'] 84\n",
      "list(a)[0]: 84 time: 0.01704549789428711 lenp(ha): 0.1760887205842575 rate: 0.0031049827580450534 i: 1634 ha.loc[0,'a'] 2144\n",
      "list(a)[0]: 2144 time: 0.023562908172607422 lenp(ha): 0.17581823099810656 rate: 0.003100213199276935 i: 1635 ha.loc[0,'a'] 8613\n",
      "list(a)[0]: 8613 time: 0.023061513900756836 lenp(ha): 0.17554774141195564 rate: 0.0030954436405088164 i: 1636 ha.loc[0,'a'] 5480\n",
      "list(a)[0]: 5480 time: 0.02456521987915039 lenp(ha): 0.1752772518258047 rate: 0.0030906740817406983 i: 1637 ha.loc[0,'a'] 7449\n",
      "list(a)[0]: 7449 time: 0.025567293167114258 lenp(ha): 0.17500676223965378 rate: 0.0030859045229725797 i: 1638 ha.loc[0,'a'] 4062\n",
      "list(a)[0]: 4062 time: 0.017545461654663086 lenp(ha): 0.17473627265350283 rate: 0.0030811349642044616 i: 1639 ha.loc[0,'a'] 256\n",
      "list(a)[0]: 256 time: 0.01854872703552246 lenp(ha): 0.17446578306735191 rate: 0.003076365405436343 i: 1640 ha.loc[0,'a'] 4135\n",
      "list(a)[0]: 4135 time: 0.024064064025878906 lenp(ha): 0.17419529348120097 rate: 0.0030715958466682246 i: 1641 ha.loc[0,'a'] 1007\n",
      "list(a)[0]: 1007 time: 0.01704692840576172 lenp(ha): 0.17392480389505005 rate: 0.0030668262879001065 i: 1642 ha.loc[0,'a'] 6493\n",
      "list(a)[0]: 6493 time: 0.018548965454101562 lenp(ha): 0.1736543143088991 rate: 0.003062056729131988 i: 1643 ha.loc[0,'a'] 3831\n",
      "list(a)[0]: 3831 time: 0.027075767517089844 lenp(ha): 0.1733838247227482 rate: 0.00305728717036387 i: 1644 ha.loc[0,'a'] 1309\n",
      "list(a)[0]: 1309 time: 0.02055525779724121 lenp(ha): 0.17311333513659724 rate: 0.0030525176115957513 i: 1645 ha.loc[0,'a'] 6656\n",
      "list(a)[0]: 6656 time: 0.018047809600830078 lenp(ha): 0.1728428455504463 rate: 0.0030477480528276328 i: 1646 ha.loc[0,'a'] 4622\n",
      "list(a)[0]: 4622 time: 0.02506709098815918 lenp(ha): 0.17257235596429538 rate: 0.0030429784940595147 i: 1647 ha.loc[0,'a'] 6120\n",
      "list(a)[0]: 6120 time: 0.01905035972595215 lenp(ha): 0.17230186637814443 rate: 0.003038208935291396 i: 1648 ha.loc[0,'a'] 6301\n",
      "list(a)[0]: 6301 time: 0.018047571182250977 lenp(ha): 0.1720313767919935 rate: 0.003033439376523278 i: 1649 ha.loc[0,'a'] 6131\n",
      "list(a)[0]: 6131 time: 0.024564743041992188 lenp(ha): 0.17176088720584257 rate: 0.0030286698177551595 i: 1650 ha.loc[0,'a'] 3932\n",
      "list(a)[0]: 3932 time: 0.018048524856567383 lenp(ha): 0.17149039761969165 rate: 0.003023900258987041 i: 1651 ha.loc[0,'a'] 110\n",
      "list(a)[0]: 110 time: 0.019551515579223633 lenp(ha): 0.1712199080335407 rate: 0.003019130700218923 i: 1652 ha.loc[0,'a'] 1406\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1406 time: 0.03910470008850098 lenp(ha): 0.17094941844738978 rate: 0.0030143611414508043 i: 1653 ha.loc[0,'a'] 4989\n",
      "list(a)[0]: 4989 time: 0.046122074127197266 lenp(ha): 0.17067892886123884 rate: 0.0030095915826826862 i: 1654 ha.loc[0,'a'] 4461\n",
      "list(a)[0]: 4461 time: 0.017546653747558594 lenp(ha): 0.17040843927508792 rate: 0.0030048220239145677 i: 1655 ha.loc[0,'a'] 8456\n",
      "list(a)[0]: 8456 time: 0.02356243133544922 lenp(ha): 0.17013794968893697 rate: 0.003000052465146449 i: 1656 ha.loc[0,'a'] 5828\n",
      "list(a)[0]: 5828 time: 0.017045974731445312 lenp(ha): 0.16986746010278606 rate: 0.002995282906378331 i: 1657 ha.loc[0,'a'] 284\n",
      "list(a)[0]: 284 time: 0.026568889617919922 lenp(ha): 0.1695969705166351 rate: 0.0029905133476102125 i: 1658 ha.loc[0,'a'] 6491\n",
      "list(a)[0]: 6491 time: 0.061664581298828125 lenp(ha): 0.16932648093048416 rate: 0.0029857437888420944 i: 1659 ha.loc[0,'a'] 1999\n",
      "list(a)[0]: 1999 time: 0.03759908676147461 lenp(ha): 0.16905599134433325 rate: 0.002980974230073976 i: 1660 ha.loc[0,'a'] 670\n",
      "list(a)[0]: 670 time: 0.048629045486450195 lenp(ha): 0.1687855017581823 rate: 0.0029762046713058573 i: 1661 ha.loc[0,'a'] 8709\n",
      "list(a)[0]: 8709 time: 0.02255558967590332 lenp(ha): 0.16851501217203138 rate: 0.0029714351125377392 i: 1662 ha.loc[0,'a'] 4024\n",
      "list(a)[0]: 4024 time: 0.017546892166137695 lenp(ha): 0.16824452258588043 rate: 0.0029666655537696207 i: 1663 ha.loc[0,'a'] 4038\n",
      "list(a)[0]: 4038 time: 0.019051074981689453 lenp(ha): 0.16797403299972952 rate: 0.0029618959950015026 i: 1664 ha.loc[0,'a'] 7181\n",
      "list(a)[0]: 7181 time: 0.018046855926513672 lenp(ha): 0.16770354341357857 rate: 0.002957126436233384 i: 1665 ha.loc[0,'a'] 8331\n",
      "list(a)[0]: 8331 time: 0.01905083656311035 lenp(ha): 0.16743305382742765 rate: 0.0029523568774652655 i: 1666 ha.loc[0,'a'] 2706\n",
      "list(a)[0]: 2706 time: 0.03208518028259277 lenp(ha): 0.1671625642412767 rate: 0.0029475873186971474 i: 1667 ha.loc[0,'a'] 1339\n",
      "list(a)[0]: 1339 time: 0.04110860824584961 lenp(ha): 0.1668920746551258 rate: 0.002942817759929029 i: 1668 ha.loc[0,'a'] 500\n",
      "list(a)[0]: 500 time: 0.058657169342041016 lenp(ha): 0.16662158506897484 rate: 0.002938048201160911 i: 1669 ha.loc[0,'a'] 3265\n",
      "list(a)[0]: 3265 time: 0.01804828643798828 lenp(ha): 0.16635109548282392 rate: 0.0029332786423927923 i: 1670 ha.loc[0,'a'] 5729\n",
      "list(a)[0]: 5729 time: 0.016544818878173828 lenp(ha): 0.16608060589667298 rate: 0.0029285090836246737 i: 1671 ha.loc[0,'a'] 4247\n",
      "list(a)[0]: 4247 time: 0.03158426284790039 lenp(ha): 0.16581011631052203 rate: 0.0029237395248565556 i: 1672 ha.loc[0,'a'] 6700\n",
      "list(a)[0]: 6700 time: 0.034592390060424805 lenp(ha): 0.16553962672437111 rate: 0.002918969966088437 i: 1673 ha.loc[0,'a'] 7905\n",
      "list(a)[0]: 7905 time: 0.03408980369567871 lenp(ha): 0.16526913713822017 rate: 0.002914200407320319 i: 1674 ha.loc[0,'a'] 8454\n",
      "list(a)[0]: 8454 time: 0.018049001693725586 lenp(ha): 0.16499864755206925 rate: 0.0029094308485522005 i: 1675 ha.loc[0,'a'] 2964\n",
      "list(a)[0]: 2964 time: 0.025567293167114258 lenp(ha): 0.1647281579659183 rate: 0.002904661289784082 i: 1676 ha.loc[0,'a'] 7276\n",
      "list(a)[0]: 7276 time: 0.02757406234741211 lenp(ha): 0.16445766837976739 rate: 0.002899891731015964 i: 1677 ha.loc[0,'a'] 8452\n",
      "list(a)[0]: 8452 time: 0.02907729148864746 lenp(ha): 0.16418717879361644 rate: 0.0028951221722478453 i: 1678 ha.loc[0,'a'] 77\n",
      "list(a)[0]: 77 time: 0.07068610191345215 lenp(ha): 0.16391668920746552 rate: 0.002890352613479727 i: 1679 ha.loc[0,'a'] 7497\n",
      "list(a)[0]: 7497 time: 0.01854872703552246 lenp(ha): 0.16364619962131458 rate: 0.0028855830547116087 i: 1680 ha.loc[0,'a'] 8139\n",
      "list(a)[0]: 8139 time: 0.02606797218322754 lenp(ha): 0.16337571003516366 rate: 0.00288081349594349 i: 1681 ha.loc[0,'a'] 384\n",
      "list(a)[0]: 384 time: 0.024564027786254883 lenp(ha): 0.1631052204490127 rate: 0.002876043937175372 i: 1682 ha.loc[0,'a'] 3049\n",
      "list(a)[0]: 3049 time: 0.03409099578857422 lenp(ha): 0.1628347308628618 rate: 0.0028712743784072535 i: 1683 ha.loc[0,'a'] 7451\n",
      "list(a)[0]: 7451 time: 0.03258633613586426 lenp(ha): 0.16256424127671085 rate: 0.0028665048196391354 i: 1684 ha.loc[0,'a'] 5056\n",
      "list(a)[0]: 5056 time: 0.04812812805175781 lenp(ha): 0.1622937516905599 rate: 0.002861735260871017 i: 1685 ha.loc[0,'a'] 5267\n",
      "list(a)[0]: 5267 time: 0.017044544219970703 lenp(ha): 0.16202326210440898 rate: 0.0028569657021028983 i: 1686 ha.loc[0,'a'] 4576\n",
      "list(a)[0]: 4576 time: 0.021557331085205078 lenp(ha): 0.16175277251825804 rate: 0.0028521961433347802 i: 1687 ha.loc[0,'a'] 5538\n",
      "list(a)[0]: 5538 time: 0.03559613227844238 lenp(ha): 0.16148228293210712 rate: 0.0028474265845666617 i: 1688 ha.loc[0,'a'] 3620\n",
      "list(a)[0]: 3620 time: 0.08773112297058105 lenp(ha): 0.16121179334595617 rate: 0.0028426570257985436 i: 1689 ha.loc[0,'a'] 3133\n",
      "list(a)[0]: 3133 time: 0.034590959548950195 lenp(ha): 0.16094130375980525 rate: 0.002837887467030425 i: 1690 ha.loc[0,'a'] 8764\n",
      "list(a)[0]: 8764 time: 0.022061824798583984 lenp(ha): 0.1606708141736543 rate: 0.0028331179082623065 i: 1691 ha.loc[0,'a'] 3502\n",
      "list(a)[0]: 3502 time: 0.02857661247253418 lenp(ha): 0.1604003245875034 rate: 0.0028283483494941884 i: 1692 ha.loc[0,'a'] 2315\n",
      "list(a)[0]: 2315 time: 0.07369542121887207 lenp(ha): 0.16012983500135244 rate: 0.00282357879072607 i: 1693 ha.loc[0,'a'] 2579\n",
      "list(a)[0]: 2579 time: 0.023061037063598633 lenp(ha): 0.15985934541520153 rate: 0.0028188092319579514 i: 1694 ha.loc[0,'a'] 6462\n",
      "list(a)[0]: 6462 time: 0.03007984161376953 lenp(ha): 0.15958885582905058 rate: 0.0028140396731898333 i: 1695 ha.loc[0,'a'] 1297\n",
      "list(a)[0]: 1297 time: 0.04562067985534668 lenp(ha): 0.15931836624289966 rate: 0.0028092701144217147 i: 1696 ha.loc[0,'a'] 982\n",
      "list(a)[0]: 982 time: 0.033089637756347656 lenp(ha): 0.15904787665674872 rate: 0.0028045005556535966 i: 1697 ha.loc[0,'a'] 4188\n",
      "list(a)[0]: 4188 time: 0.028576135635375977 lenp(ha): 0.15877738707059777 rate: 0.002799730996885478 i: 1698 ha.loc[0,'a'] 7164\n",
      "list(a)[0]: 7164 time: 0.04361605644226074 lenp(ha): 0.15850689748444685 rate: 0.0027949614381173596 i: 1699 ha.loc[0,'a'] 4625\n",
      "list(a)[0]: 4625 time: 0.03459024429321289 lenp(ha): 0.1582364078982959 rate: 0.0027901918793492415 i: 1700 ha.loc[0,'a'] 8246\n",
      "list(a)[0]: 8246 time: 0.025067567825317383 lenp(ha): 0.157965918312145 rate: 0.002785422320581123 i: 1701 ha.loc[0,'a'] 4802\n",
      "list(a)[0]: 4802 time: 0.034592390060424805 lenp(ha): 0.15769542872599404 rate: 0.002780652761813005 i: 1702 ha.loc[0,'a'] 8376\n",
      "list(a)[0]: 8376 time: 0.03058147430419922 lenp(ha): 0.15742493913984312 rate: 0.0027758832030448863 i: 1703 ha.loc[0,'a'] 127\n",
      "list(a)[0]: 127 time: 0.031084060668945312 lenp(ha): 0.15715444955369218 rate: 0.0027711136442767677 i: 1704 ha.loc[0,'a'] 130\n",
      "list(a)[0]: 130 time: 0.04963231086730957 lenp(ha): 0.15688395996754126 rate: 0.0027663440855086496 i: 1705 ha.loc[0,'a'] 3261\n",
      "list(a)[0]: 3261 time: 0.022558927536010742 lenp(ha): 0.1566134703813903 rate: 0.002761574526740531 i: 1706 ha.loc[0,'a'] 6806\n",
      "list(a)[0]: 6806 time: 0.019551515579223633 lenp(ha): 0.1563429807952394 rate: 0.002756804967972413 i: 1707 ha.loc[0,'a'] 992\n",
      "list(a)[0]: 992 time: 0.020555734634399414 lenp(ha): 0.15607249120908845 rate: 0.0027520354092042945 i: 1708 ha.loc[0,'a'] 5382\n",
      "list(a)[0]: 5382 time: 0.025568723678588867 lenp(ha): 0.15580200162293753 rate: 0.002747265850436176 i: 1709 ha.loc[0,'a'] 568\n",
      "list(a)[0]: 568 time: 0.017546892166137695 lenp(ha): 0.15553151203678658 rate: 0.002742496291668058 i: 1710 ha.loc[0,'a'] 6287\n",
      "list(a)[0]: 6287 time: 0.024064064025878906 lenp(ha): 0.15526102245063564 rate: 0.0027377267328999393 i: 1711 ha.loc[0,'a'] 4326\n",
      "list(a)[0]: 4326 time: 0.01754593849182129 lenp(ha): 0.15499053286448472 rate: 0.002732957174131821 i: 1712 ha.loc[0,'a'] 5482\n",
      "list(a)[0]: 5482 time: 0.019047260284423828 lenp(ha): 0.15472004327833377 rate: 0.0027281876153637027 i: 1713 ha.loc[0,'a'] 5395\n",
      "list(a)[0]: 5395 time: 0.045122385025024414 lenp(ha): 0.15444955369218286 rate: 0.002723418056595584 i: 1714 ha.loc[0,'a'] 4765\n",
      "list(a)[0]: 4765 time: 0.0416111946105957 lenp(ha): 0.1541790641060319 rate: 0.002718648497827466 i: 1715 ha.loc[0,'a'] 7469\n",
      "list(a)[0]: 7469 time: 0.025066852569580078 lenp(ha): 0.153908574519881 rate: 0.0027138789390593475 i: 1716 ha.loc[0,'a'] 6350\n",
      "list(a)[0]: 6350 time: 0.019051313400268555 lenp(ha): 0.15363808493373005 rate: 0.0027091093802912294 i: 1717 ha.loc[0,'a'] 2447\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2447 time: 0.03509378433227539 lenp(ha): 0.15336759534757913 rate: 0.002704339821523111 i: 1718 ha.loc[0,'a'] 6848\n",
      "list(a)[0]: 6848 time: 0.07018613815307617 lenp(ha): 0.15309710576142818 rate: 0.0026995702627549923 i: 1719 ha.loc[0,'a'] 6026\n",
      "list(a)[0]: 6026 time: 0.02255988121032715 lenp(ha): 0.15282661617527726 rate: 0.0026948007039868742 i: 1720 ha.loc[0,'a'] 5679\n",
      "list(a)[0]: 5679 time: 0.020554542541503906 lenp(ha): 0.15255612658912632 rate: 0.0026900311452187557 i: 1721 ha.loc[0,'a'] 7370\n",
      "list(a)[0]: 7370 time: 0.018049240112304688 lenp(ha): 0.1522856370029754 rate: 0.0026852615864506376 i: 1722 ha.loc[0,'a'] 4777\n",
      "list(a)[0]: 4777 time: 0.020055532455444336 lenp(ha): 0.15201514741682445 rate: 0.002680492027682519 i: 1723 ha.loc[0,'a'] 2841\n",
      "list(a)[0]: 2841 time: 0.01704549789428711 lenp(ha): 0.1517446578306735 rate: 0.0026757224689144005 i: 1724 ha.loc[0,'a'] 1579\n",
      "list(a)[0]: 1579 time: 0.02957892417907715 lenp(ha): 0.1514741682445226 rate: 0.0026709529101462824 i: 1725 ha.loc[0,'a'] 4925\n",
      "list(a)[0]: 4925 time: 0.01804804801940918 lenp(ha): 0.15120367865837164 rate: 0.002666183351378164 i: 1726 ha.loc[0,'a'] 7068\n",
      "list(a)[0]: 7068 time: 0.017044782638549805 lenp(ha): 0.15093318907222072 rate: 0.002661413792610046 i: 1727 ha.loc[0,'a'] 739\n",
      "list(a)[0]: 739 time: 0.019082307815551758 lenp(ha): 0.15066269948606978 rate: 0.0026566442338419273 i: 1728 ha.loc[0,'a'] 2823\n",
      "list(a)[0]: 2823 time: 0.018047332763671875 lenp(ha): 0.15039220989991886 rate: 0.0026518746750738087 i: 1729 ha.loc[0,'a'] 1123\n",
      "list(a)[0]: 1123 time: 0.040610313415527344 lenp(ha): 0.15012172031376791 rate: 0.0026471051163056906 i: 1730 ha.loc[0,'a'] 6237\n",
      "list(a)[0]: 6237 time: 0.029076814651489258 lenp(ha): 0.149851230727617 rate: 0.002642335557537572 i: 1731 ha.loc[0,'a'] 5160\n",
      "list(a)[0]: 5160 time: 0.01905059814453125 lenp(ha): 0.14958074114146605 rate: 0.002637565998769454 i: 1732 ha.loc[0,'a'] 3955\n",
      "list(a)[0]: 3955 time: 0.01855015754699707 lenp(ha): 0.14931025155531513 rate: 0.0026327964400013355 i: 1733 ha.loc[0,'a'] 8457\n",
      "list(a)[0]: 8457 time: 0.018049955368041992 lenp(ha): 0.1490397619691642 rate: 0.002628026881233217 i: 1734 ha.loc[0,'a'] 5020\n",
      "list(a)[0]: 5020 time: 0.021055936813354492 lenp(ha): 0.14876927238301324 rate: 0.002623257322465099 i: 1735 ha.loc[0,'a'] 538\n",
      "list(a)[0]: 538 time: 0.03158402442932129 lenp(ha): 0.14849878279686232 rate: 0.0026184877636969803 i: 1736 ha.loc[0,'a'] 2037\n",
      "list(a)[0]: 2037 time: 0.06417059898376465 lenp(ha): 0.14822829321071138 rate: 0.002613718204928862 i: 1737 ha.loc[0,'a'] 4490\n",
      "list(a)[0]: 4490 time: 0.04060697555541992 lenp(ha): 0.14795780362456046 rate: 0.0026089486461607437 i: 1738 ha.loc[0,'a'] 8061\n",
      "list(a)[0]: 8061 time: 0.017547130584716797 lenp(ha): 0.1476873140384095 rate: 0.002604179087392625 i: 1739 ha.loc[0,'a'] 1529\n",
      "list(a)[0]: 1529 time: 0.01955389976501465 lenp(ha): 0.1474168244522586 rate: 0.002599409528624507 i: 1740 ha.loc[0,'a'] 1423\n",
      "list(a)[0]: 1423 time: 0.02105545997619629 lenp(ha): 0.14714633486610765 rate: 0.0025946399698563885 i: 1741 ha.loc[0,'a'] 2086\n",
      "list(a)[0]: 2086 time: 0.03308749198913574 lenp(ha): 0.14687584527995673 rate: 0.0025898704110882704 i: 1742 ha.loc[0,'a'] 6730\n",
      "list(a)[0]: 6730 time: 0.03108525276184082 lenp(ha): 0.14660535569380578 rate: 0.002585100852320152 i: 1743 ha.loc[0,'a'] 6379\n",
      "list(a)[0]: 6379 time: 0.027072429656982422 lenp(ha): 0.14633486610765487 rate: 0.0025803312935520333 i: 1744 ha.loc[0,'a'] 8489\n",
      "list(a)[0]: 8489 time: 0.029578685760498047 lenp(ha): 0.14606437652150392 rate: 0.0025755617347839152 i: 1745 ha.loc[0,'a'] 5782\n",
      "list(a)[0]: 5782 time: 0.05414319038391113 lenp(ha): 0.145793886935353 rate: 0.0025707921760157967 i: 1746 ha.loc[0,'a'] 3534\n",
      "list(a)[0]: 3534 time: 0.04361677169799805 lenp(ha): 0.14552339734920205 rate: 0.0025660226172476786 i: 1747 ha.loc[0,'a'] 751\n",
      "list(a)[0]: 751 time: 0.024564743041992188 lenp(ha): 0.1452529077630511 rate: 0.00256125305847956 i: 1748 ha.loc[0,'a'] 5681\n",
      "list(a)[0]: 5681 time: 0.018049001693725586 lenp(ha): 0.1449824181769002 rate: 0.0025564834997114415 i: 1749 ha.loc[0,'a'] 6842\n",
      "list(a)[0]: 6842 time: 0.04862856864929199 lenp(ha): 0.14471192859074924 rate: 0.0025517139409433234 i: 1750 ha.loc[0,'a'] 8313\n",
      "list(a)[0]: 8313 time: 0.042110443115234375 lenp(ha): 0.14444143900459833 rate: 0.002546944382175205 i: 1751 ha.loc[0,'a'] 2596\n",
      "list(a)[0]: 2596 time: 0.041611671447753906 lenp(ha): 0.14417094941844738 rate: 0.0025421748234070868 i: 1752 ha.loc[0,'a'] 7205\n",
      "list(a)[0]: 7205 time: 0.018048524856567383 lenp(ha): 0.14390045983229646 rate: 0.0025374052646389682 i: 1753 ha.loc[0,'a'] 1453\n",
      "list(a)[0]: 1453 time: 0.017546892166137695 lenp(ha): 0.14362997024614552 rate: 0.0025326357058708497 i: 1754 ha.loc[0,'a'] 1362\n",
      "list(a)[0]: 1362 time: 0.01804804801940918 lenp(ha): 0.1433594806599946 rate: 0.0025278661471027316 i: 1755 ha.loc[0,'a'] 3600\n",
      "list(a)[0]: 3600 time: 0.05314183235168457 lenp(ha): 0.14308899107384365 rate: 0.002523096588334613 i: 1756 ha.loc[0,'a'] 3014\n",
      "list(a)[0]: 3014 time: 0.055146217346191406 lenp(ha): 0.14281850148769273 rate: 0.002518327029566495 i: 1757 ha.loc[0,'a'] 4386\n",
      "list(a)[0]: 4386 time: 0.03509521484375 lenp(ha): 0.1425480119015418 rate: 0.0025135574707983764 i: 1758 ha.loc[0,'a'] 4702\n",
      "list(a)[0]: 4702 time: 0.0170443058013916 lenp(ha): 0.14227752231539087 rate: 0.002508787912030258 i: 1759 ha.loc[0,'a'] 8547\n",
      "list(a)[0]: 8547 time: 0.024064064025878906 lenp(ha): 0.14200703272923992 rate: 0.00250401835326214 i: 1760 ha.loc[0,'a'] 1685\n",
      "list(a)[0]: 1685 time: 0.05213761329650879 lenp(ha): 0.14173654314308898 rate: 0.0024992487944940213 i: 1761 ha.loc[0,'a'] 1621\n",
      "list(a)[0]: 1621 time: 0.049131155014038086 lenp(ha): 0.14146605355693806 rate: 0.002494479235725903 i: 1762 ha.loc[0,'a'] 2722\n",
      "list(a)[0]: 2722 time: 0.05665016174316406 lenp(ha): 0.1411955639707871 rate: 0.0024897096769577846 i: 1763 ha.loc[0,'a'] 1624\n",
      "list(a)[0]: 1624 time: 0.03409147262573242 lenp(ha): 0.1409250743846362 rate: 0.002484940118189666 i: 1764 ha.loc[0,'a'] 4934\n",
      "list(a)[0]: 4934 time: 0.01854872703552246 lenp(ha): 0.14065458479848525 rate: 0.002480170559421548 i: 1765 ha.loc[0,'a'] 1880\n",
      "list(a)[0]: 1880 time: 0.026069164276123047 lenp(ha): 0.14038409521233433 rate: 0.0024754010006534295 i: 1766 ha.loc[0,'a'] 6759\n",
      "list(a)[0]: 6759 time: 0.04110383987426758 lenp(ha): 0.14011360562618339 rate: 0.0024706314418853114 i: 1767 ha.loc[0,'a'] 4606\n",
      "list(a)[0]: 4606 time: 0.03509211540222168 lenp(ha): 0.13984311604003247 rate: 0.002465861883117193 i: 1768 ha.loc[0,'a'] 7848\n",
      "list(a)[0]: 7848 time: 0.025569677352905273 lenp(ha): 0.13957262645388152 rate: 0.0024610923243490743 i: 1769 ha.loc[0,'a'] 2298\n",
      "list(a)[0]: 2298 time: 0.019051313400268555 lenp(ha): 0.1393021368677306 rate: 0.002456322765580956 i: 1770 ha.loc[0,'a'] 1327\n",
      "list(a)[0]: 1327 time: 0.020052671432495117 lenp(ha): 0.13903164728157966 rate: 0.0024515532068128377 i: 1771 ha.loc[0,'a'] 623\n",
      "list(a)[0]: 623 time: 0.021558046340942383 lenp(ha): 0.13876115769542874 rate: 0.0024467836480447196 i: 1772 ha.loc[0,'a'] 5327\n",
      "list(a)[0]: 5327 time: 0.023061275482177734 lenp(ha): 0.1384906681092778 rate: 0.002442014089276601 i: 1773 ha.loc[0,'a'] 835\n",
      "list(a)[0]: 835 time: 0.024064302444458008 lenp(ha): 0.13822017852312685 rate: 0.0024372445305084825 i: 1774 ha.loc[0,'a'] 230\n",
      "list(a)[0]: 230 time: 0.047126054763793945 lenp(ha): 0.13794968893697593 rate: 0.0024324749717403644 i: 1775 ha.loc[0,'a'] 8706\n",
      "list(a)[0]: 8706 time: 0.034590959548950195 lenp(ha): 0.13767919935082498 rate: 0.002427705412972246 i: 1776 ha.loc[0,'a'] 6409\n",
      "list(a)[0]: 6409 time: 0.04612255096435547 lenp(ha): 0.13740870976467406 rate: 0.0024229358542041278 i: 1777 ha.loc[0,'a'] 3993\n",
      "list(a)[0]: 3993 time: 0.018048524856567383 lenp(ha): 0.13713822017852312 rate: 0.0024181662954360092 i: 1778 ha.loc[0,'a'] 7261\n",
      "list(a)[0]: 7261 time: 0.023062467575073242 lenp(ha): 0.1368677305923722 rate: 0.0024133967366678907 i: 1779 ha.loc[0,'a'] 4080\n",
      "list(a)[0]: 4080 time: 0.03910374641418457 lenp(ha): 0.13659724100622125 rate: 0.0024086271778997726 i: 1780 ha.loc[0,'a'] 7501\n",
      "list(a)[0]: 7501 time: 0.042112112045288086 lenp(ha): 0.13632675142007034 rate: 0.002403857619131654 i: 1781 ha.loc[0,'a'] 1532\n",
      "list(a)[0]: 1532 time: 0.04913139343261719 lenp(ha): 0.1360562618339194 rate: 0.002399088060363536 i: 1782 ha.loc[0,'a'] 2250\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2250 time: 0.030580759048461914 lenp(ha): 0.13578577224776847 rate: 0.0023943185015954174 i: 1783 ha.loc[0,'a'] 5182\n",
      "list(a)[0]: 5182 time: 0.024564743041992188 lenp(ha): 0.13551528266161753 rate: 0.002389548942827299 i: 1784 ha.loc[0,'a'] 5664\n",
      "list(a)[0]: 5664 time: 0.01955270767211914 lenp(ha): 0.1352447930754666 rate: 0.002384779384059181 i: 1785 ha.loc[0,'a'] 3972\n",
      "list(a)[0]: 3972 time: 0.017545700073242188 lenp(ha): 0.13497430348931566 rate: 0.0023800098252910623 i: 1786 ha.loc[0,'a'] 2364\n",
      "list(a)[0]: 2364 time: 0.01905035972595215 lenp(ha): 0.13470381390316472 rate: 0.002375240266522944 i: 1787 ha.loc[0,'a'] 574\n",
      "list(a)[0]: 574 time: 0.023062944412231445 lenp(ha): 0.1344333243170138 rate: 0.0023704707077548256 i: 1788 ha.loc[0,'a'] 6410\n",
      "list(a)[0]: 6410 time: 0.03709864616394043 lenp(ha): 0.13416283473086285 rate: 0.002365701148986707 i: 1789 ha.loc[0,'a'] 2888\n",
      "list(a)[0]: 2888 time: 0.022058486938476562 lenp(ha): 0.13389234514471193 rate: 0.002360931590218589 i: 1790 ha.loc[0,'a'] 3164\n",
      "list(a)[0]: 3164 time: 0.0656740665435791 lenp(ha): 0.133621855558561 rate: 0.0023561620314504705 i: 1791 ha.loc[0,'a'] 559\n",
      "list(a)[0]: 559 time: 0.03308749198913574 lenp(ha): 0.13335136597241007 rate: 0.0023513924726823524 i: 1792 ha.loc[0,'a'] 6314\n",
      "list(a)[0]: 6314 time: 0.018548965454101562 lenp(ha): 0.13308087638625912 rate: 0.002346622913914234 i: 1793 ha.loc[0,'a'] 896\n",
      "list(a)[0]: 896 time: 0.01905059814453125 lenp(ha): 0.1328103868001082 rate: 0.0023418533551461153 i: 1794 ha.loc[0,'a'] 3358\n",
      "list(a)[0]: 3358 time: 0.02306056022644043 lenp(ha): 0.13253989721395726 rate: 0.002337083796377997 i: 1795 ha.loc[0,'a'] 7842\n",
      "list(a)[0]: 7842 time: 0.02660512924194336 lenp(ha): 0.13226940762780634 rate: 0.0023323142376098786 i: 1796 ha.loc[0,'a'] 1424\n",
      "list(a)[0]: 1424 time: 0.021053791046142578 lenp(ha): 0.1319989180416554 rate: 0.0023275446788417605 i: 1797 ha.loc[0,'a'] 8130\n",
      "list(a)[0]: 8130 time: 0.02907729148864746 lenp(ha): 0.13172842845550448 rate: 0.002322775120073642 i: 1798 ha.loc[0,'a'] 7647\n",
      "list(a)[0]: 7647 time: 0.03308677673339844 lenp(ha): 0.13145793886935353 rate: 0.0023180055613055235 i: 1799 ha.loc[0,'a'] 1731\n",
      "list(a)[0]: 1731 time: 0.020554065704345703 lenp(ha): 0.13118744928320258 rate: 0.0023132360025374054 i: 1800 ha.loc[0,'a'] 5022\n",
      "list(a)[0]: 5022 time: 0.030079126358032227 lenp(ha): 0.13091695969705167 rate: 0.002308466443769287 i: 1801 ha.loc[0,'a'] 6365\n",
      "list(a)[0]: 6365 time: 0.02757406234741211 lenp(ha): 0.13064647011090072 rate: 0.0023036968850011687 i: 1802 ha.loc[0,'a'] 8490\n",
      "list(a)[0]: 8490 time: 0.039606332778930664 lenp(ha): 0.1303759805247498 rate: 0.00229892732623305 i: 1803 ha.loc[0,'a'] 2865\n",
      "list(a)[0]: 2865 time: 0.018048763275146484 lenp(ha): 0.13010549093859886 rate: 0.0022941577674649317 i: 1804 ha.loc[0,'a'] 6492\n",
      "list(a)[0]: 6492 time: 0.01704549789428711 lenp(ha): 0.12983500135244794 rate: 0.0022893882086968136 i: 1805 ha.loc[0,'a'] 5118\n",
      "list(a)[0]: 5118 time: 0.018047571182250977 lenp(ha): 0.129564511766297 rate: 0.002284618649928695 i: 1806 ha.loc[0,'a'] 7381\n",
      "list(a)[0]: 7381 time: 0.018546104431152344 lenp(ha): 0.12929402218014607 rate: 0.002279849091160577 i: 1807 ha.loc[0,'a'] 1573\n",
      "list(a)[0]: 1573 time: 0.02155756950378418 lenp(ha): 0.12902353259399513 rate: 0.0022750795323924584 i: 1808 ha.loc[0,'a'] 8253\n",
      "list(a)[0]: 8253 time: 0.023561716079711914 lenp(ha): 0.1287530430078442 rate: 0.00227030997362434 i: 1809 ha.loc[0,'a'] 4484\n",
      "list(a)[0]: 4484 time: 0.019021034240722656 lenp(ha): 0.12848255342169326 rate: 0.0022655404148562218 i: 1810 ha.loc[0,'a'] 5231\n",
      "list(a)[0]: 5231 time: 0.018549203872680664 lenp(ha): 0.12821206383554234 rate: 0.0022607708560881032 i: 1811 ha.loc[0,'a'] 7111\n",
      "list(a)[0]: 7111 time: 0.02907729148864746 lenp(ha): 0.1279415742493914 rate: 0.002256001297319985 i: 1812 ha.loc[0,'a'] 1425\n",
      "list(a)[0]: 1425 time: 0.01804804801940918 lenp(ha): 0.12767108466324045 rate: 0.0022512317385518666 i: 1813 ha.loc[0,'a'] 6198\n",
      "list(a)[0]: 6198 time: 0.023563146591186523 lenp(ha): 0.12740059507708953 rate: 0.002246462179783748 i: 1814 ha.loc[0,'a'] 3086\n",
      "list(a)[0]: 3086 time: 0.018047332763671875 lenp(ha): 0.1271301054909386 rate: 0.00224169262101563 i: 1815 ha.loc[0,'a'] 7364\n",
      "list(a)[0]: 7364 time: 0.01905083656311035 lenp(ha): 0.12685961590478767 rate: 0.0022369230622475114 i: 1816 ha.loc[0,'a'] 7306\n",
      "list(a)[0]: 7306 time: 0.029578208923339844 lenp(ha): 0.12658912631863672 rate: 0.0022321535034793933 i: 1817 ha.loc[0,'a'] 752\n",
      "list(a)[0]: 752 time: 0.01704549789428711 lenp(ha): 0.1263186367324858 rate: 0.002227383944711275 i: 1818 ha.loc[0,'a'] 2336\n",
      "list(a)[0]: 2336 time: 0.01854991912841797 lenp(ha): 0.12604814714633486 rate: 0.0022226143859431563 i: 1819 ha.loc[0,'a'] 4227\n",
      "list(a)[0]: 4227 time: 0.024063587188720703 lenp(ha): 0.12577765756018394 rate: 0.002217844827175038 i: 1820 ha.loc[0,'a'] 3937\n",
      "list(a)[0]: 3937 time: 0.025066614151000977 lenp(ha): 0.125507167974033 rate: 0.0022130752684069196 i: 1821 ha.loc[0,'a'] 919\n",
      "list(a)[0]: 919 time: 0.018047809600830078 lenp(ha): 0.12523667838788208 rate: 0.0022083057096388015 i: 1822 ha.loc[0,'a'] 3060\n",
      "list(a)[0]: 3060 time: 0.02202582359313965 lenp(ha): 0.12496618880173113 rate: 0.002203536150870683 i: 1823 ha.loc[0,'a'] 6557\n",
      "list(a)[0]: 6557 time: 0.019047021865844727 lenp(ha): 0.1246956992155802 rate: 0.0021987665921025645 i: 1824 ha.loc[0,'a'] 7532\n",
      "list(a)[0]: 7532 time: 0.01804947853088379 lenp(ha): 0.12442520962942927 rate: 0.0021939970333344464 i: 1825 ha.loc[0,'a'] 8789\n",
      "list(a)[0]: 8789 time: 0.02506542205810547 lenp(ha): 0.12415472004327834 rate: 0.002189227474566328 i: 1826 ha.loc[0,'a'] 2356\n",
      "list(a)[0]: 2356 time: 0.017045259475708008 lenp(ha): 0.1238842304571274 rate: 0.0021844579157982093 i: 1827 ha.loc[0,'a'] 4164\n",
      "list(a)[0]: 4164 time: 0.017546892166137695 lenp(ha): 0.12361374087097647 rate: 0.002179688357030091 i: 1828 ha.loc[0,'a'] 1823\n",
      "list(a)[0]: 1823 time: 0.020554542541503906 lenp(ha): 0.12334325128482554 rate: 0.0021749187982619727 i: 1829 ha.loc[0,'a'] 595\n",
      "list(a)[0]: 595 time: 0.01955127716064453 lenp(ha): 0.12307276169867461 rate: 0.0021701492394938546 i: 1830 ha.loc[0,'a'] 3796\n",
      "list(a)[0]: 3796 time: 0.026100635528564453 lenp(ha): 0.12280227211252366 rate: 0.002165379680725736 i: 1831 ha.loc[0,'a'] 3443\n",
      "list(a)[0]: 3443 time: 0.027072668075561523 lenp(ha): 0.12253178252637273 rate: 0.0021606101219576175 i: 1832 ha.loc[0,'a'] 6241\n",
      "list(a)[0]: 6241 time: 0.01704692840576172 lenp(ha): 0.1222612929402218 rate: 0.0021558405631894994 i: 1833 ha.loc[0,'a'] 2727\n",
      "list(a)[0]: 2727 time: 0.01707744598388672 lenp(ha): 0.12199080335407086 rate: 0.002151071004421381 i: 1834 ha.loc[0,'a'] 449\n",
      "list(a)[0]: 449 time: 0.02256321907043457 lenp(ha): 0.12172031376791993 rate: 0.0021463014456532628 i: 1835 ha.loc[0,'a'] 2098\n",
      "list(a)[0]: 2098 time: 0.01754617691040039 lenp(ha): 0.121449824181769 rate: 0.0021415318868851442 i: 1836 ha.loc[0,'a'] 492\n",
      "list(a)[0]: 492 time: 0.019051313400268555 lenp(ha): 0.12117933459561807 rate: 0.0021367623281170257 i: 1837 ha.loc[0,'a'] 3634\n",
      "list(a)[0]: 3634 time: 0.023064613342285156 lenp(ha): 0.12090884500946714 rate: 0.0021319927693489076 i: 1838 ha.loc[0,'a'] 2235\n",
      "list(a)[0]: 2235 time: 0.024564027786254883 lenp(ha): 0.1206383554233162 rate: 0.002127223210580789 i: 1839 ha.loc[0,'a'] 5421\n",
      "list(a)[0]: 5421 time: 0.019548416137695312 lenp(ha): 0.12036786583716527 rate: 0.002122453651812671 i: 1840 ha.loc[0,'a'] 215\n",
      "list(a)[0]: 215 time: 0.020555973052978516 lenp(ha): 0.12009737625101434 rate: 0.0021176840930445524 i: 1841 ha.loc[0,'a'] 6797\n",
      "list(a)[0]: 6797 time: 0.031583309173583984 lenp(ha): 0.11982688666486341 rate: 0.002112914534276434 i: 1842 ha.loc[0,'a'] 8658\n",
      "list(a)[0]: 8658 time: 0.04211282730102539 lenp(ha): 0.11955639707871248 rate: 0.0021081449755083158 i: 1843 ha.loc[0,'a'] 1353\n",
      "list(a)[0]: 1353 time: 0.03960537910461426 lenp(ha): 0.11928590749256153 rate: 0.0021033754167401972 i: 1844 ha.loc[0,'a'] 5519\n",
      "list(a)[0]: 5519 time: 0.020052671432495117 lenp(ha): 0.1190154179064106 rate: 0.002098605857972079 i: 1845 ha.loc[0,'a'] 7894\n",
      "list(a)[0]: 7894 time: 0.017044544219970703 lenp(ha): 0.11874492832025967 rate: 0.0020938362992039606 i: 1846 ha.loc[0,'a'] 4126\n",
      "list(a)[0]: 4126 time: 0.023562192916870117 lenp(ha): 0.11847443873410873 rate: 0.002089066740435842 i: 1847 ha.loc[0,'a'] 7558\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 7558 time: 0.01704549789428711 lenp(ha): 0.1182039491479578 rate: 0.002084297181667724 i: 1848 ha.loc[0,'a'] 6431\n",
      "list(a)[0]: 6431 time: 0.03208518028259277 lenp(ha): 0.11793345956180687 rate: 0.0020795276228996054 i: 1849 ha.loc[0,'a'] 1549\n",
      "list(a)[0]: 1549 time: 0.024564743041992188 lenp(ha): 0.11766296997565594 rate: 0.0020747580641314873 i: 1850 ha.loc[0,'a'] 1002\n",
      "list(a)[0]: 1002 time: 0.02807450294494629 lenp(ha): 0.117392480389505 rate: 0.002069988505363369 i: 1851 ha.loc[0,'a'] 5318\n",
      "list(a)[0]: 5318 time: 0.020053863525390625 lenp(ha): 0.11712199080335407 rate: 0.0020652189465952503 i: 1852 ha.loc[0,'a'] 2136\n",
      "list(a)[0]: 2136 time: 0.02005314826965332 lenp(ha): 0.11685150121720314 rate: 0.002060449387827132 i: 1853 ha.loc[0,'a'] 2851\n",
      "list(a)[0]: 2851 time: 0.02704024314880371 lenp(ha): 0.11658101163105221 rate: 0.0020556798290590136 i: 1854 ha.loc[0,'a'] 6780\n",
      "list(a)[0]: 6780 time: 0.05314064025878906 lenp(ha): 0.11631052204490128 rate: 0.0020509102702908955 i: 1855 ha.loc[0,'a'] 4598\n",
      "list(a)[0]: 4598 time: 0.021557092666625977 lenp(ha): 0.11604003245875034 rate: 0.002046140711522777 i: 1856 ha.loc[0,'a'] 5296\n",
      "list(a)[0]: 5296 time: 0.025568246841430664 lenp(ha): 0.1157695428725994 rate: 0.0020413711527546585 i: 1857 ha.loc[0,'a'] 4907\n",
      "list(a)[0]: 4907 time: 0.020554542541503906 lenp(ha): 0.11549905328644847 rate: 0.0020366015939865404 i: 1858 ha.loc[0,'a'] 2330\n",
      "list(a)[0]: 2330 time: 0.019050121307373047 lenp(ha): 0.11522856370029753 rate: 0.002031832035218422 i: 1859 ha.loc[0,'a'] 1151\n",
      "list(a)[0]: 1151 time: 0.018048524856567383 lenp(ha): 0.1149580741141466 rate: 0.0020270624764503037 i: 1860 ha.loc[0,'a'] 4944\n",
      "list(a)[0]: 4944 time: 0.017546415328979492 lenp(ha): 0.11468758452799567 rate: 0.002022292917682185 i: 1861 ha.loc[0,'a'] 7878\n",
      "list(a)[0]: 7878 time: 0.02005314826965332 lenp(ha): 0.11441709494184474 rate: 0.0020175233589140667 i: 1862 ha.loc[0,'a'] 4353\n",
      "list(a)[0]: 4353 time: 0.01854872703552246 lenp(ha): 0.1141466053556938 rate: 0.0020127538001459486 i: 1863 ha.loc[0,'a'] 298\n",
      "list(a)[0]: 298 time: 0.02406167984008789 lenp(ha): 0.11387611576954287 rate: 0.00200798424137783 i: 1864 ha.loc[0,'a'] 7344\n",
      "list(a)[0]: 7344 time: 0.021055936813354492 lenp(ha): 0.11360562618339194 rate: 0.002003214682609712 i: 1865 ha.loc[0,'a'] 853\n",
      "list(a)[0]: 853 time: 0.01854872703552246 lenp(ha): 0.11333513659724101 rate: 0.0019984451238415934 i: 1866 ha.loc[0,'a'] 2533\n",
      "list(a)[0]: 2533 time: 0.018047094345092773 lenp(ha): 0.11306464701109008 rate: 0.001993675565073475 i: 1867 ha.loc[0,'a'] 6408\n",
      "list(a)[0]: 6408 time: 0.02155756950378418 lenp(ha): 0.11279415742493915 rate: 0.0019889060063053568 i: 1868 ha.loc[0,'a'] 4943\n",
      "list(a)[0]: 4943 time: 0.023561954498291016 lenp(ha): 0.11252366783878821 rate: 0.0019841364475372382 i: 1869 ha.loc[0,'a'] 4440\n",
      "list(a)[0]: 4440 time: 0.021056413650512695 lenp(ha): 0.11225317825263727 rate: 0.00197936688876912 i: 1870 ha.loc[0,'a'] 8471\n",
      "list(a)[0]: 8471 time: 0.023560762405395508 lenp(ha): 0.11198268866648634 rate: 0.0019745973300010016 i: 1871 ha.loc[0,'a'] 427\n",
      "list(a)[0]: 427 time: 0.03659677505493164 lenp(ha): 0.1117121990803354 rate: 0.001969827771232883 i: 1872 ha.loc[0,'a'] 4267\n",
      "list(a)[0]: 4267 time: 0.027070999145507812 lenp(ha): 0.11144170949418447 rate: 0.001965058212464765 i: 1873 ha.loc[0,'a'] 7240\n",
      "list(a)[0]: 7240 time: 0.03559422492980957 lenp(ha): 0.11117121990803354 rate: 0.0019602886536966464 i: 1874 ha.loc[0,'a'] 3571\n",
      "list(a)[0]: 3571 time: 0.03509330749511719 lenp(ha): 0.1109007303218826 rate: 0.0019555190949285283 i: 1875 ha.loc[0,'a'] 2172\n",
      "list(a)[0]: 2172 time: 0.027573823928833008 lenp(ha): 0.11063024073573167 rate: 0.0019507495361604098 i: 1876 ha.loc[0,'a'] 6119\n",
      "list(a)[0]: 6119 time: 0.01804637908935547 lenp(ha): 0.11035975114958074 rate: 0.0019459799773922915 i: 1877 ha.loc[0,'a'] 4294\n",
      "list(a)[0]: 4294 time: 0.030080556869506836 lenp(ha): 0.11008926156342981 rate: 0.0019412104186241732 i: 1878 ha.loc[0,'a'] 7907\n",
      "list(a)[0]: 7907 time: 0.0175473690032959 lenp(ha): 0.10981877197727888 rate: 0.0019364408598560546 i: 1879 ha.loc[0,'a'] 3946\n",
      "list(a)[0]: 3946 time: 0.018550395965576172 lenp(ha): 0.10954828239112795 rate: 0.0019316713010879363 i: 1880 ha.loc[0,'a'] 4703\n",
      "list(a)[0]: 4703 time: 0.02657032012939453 lenp(ha): 0.10927779280497701 rate: 0.001926901742319818 i: 1881 ha.loc[0,'a'] 11\n",
      "list(a)[0]: 11 time: 0.023562192916870117 lenp(ha): 0.10900730321882608 rate: 0.0019221321835516997 i: 1882 ha.loc[0,'a'] 7060\n",
      "list(a)[0]: 7060 time: 0.016544103622436523 lenp(ha): 0.10873681363267514 rate: 0.0019173626247835814 i: 1883 ha.loc[0,'a'] 297\n",
      "list(a)[0]: 297 time: 0.03609466552734375 lenp(ha): 0.1084663240465242 rate: 0.0019125930660154628 i: 1884 ha.loc[0,'a'] 1889\n",
      "list(a)[0]: 1889 time: 0.020554304122924805 lenp(ha): 0.10819583446037327 rate: 0.0019078235072473445 i: 1885 ha.loc[0,'a'] 6572\n",
      "list(a)[0]: 6572 time: 0.025568485260009766 lenp(ha): 0.10792534487422234 rate: 0.0019030539484792262 i: 1886 ha.loc[0,'a'] 3313\n",
      "list(a)[0]: 3313 time: 0.028575658798217773 lenp(ha): 0.10765485528807141 rate: 0.0018982843897111079 i: 1887 ha.loc[0,'a'] 645\n",
      "list(a)[0]: 645 time: 0.029077529907226562 lenp(ha): 0.10738436570192048 rate: 0.0018935148309429896 i: 1888 ha.loc[0,'a'] 2001\n",
      "list(a)[0]: 2001 time: 0.01854848861694336 lenp(ha): 0.10711387611576954 rate: 0.001888745272174871 i: 1889 ha.loc[0,'a'] 4311\n",
      "list(a)[0]: 4311 time: 0.024063587188720703 lenp(ha): 0.10684338652961861 rate: 0.0018839757134067527 i: 1890 ha.loc[0,'a'] 5506\n",
      "list(a)[0]: 5506 time: 0.03359079360961914 lenp(ha): 0.10657289694346768 rate: 0.0018792061546386344 i: 1891 ha.loc[0,'a'] 8004\n",
      "list(a)[0]: 8004 time: 0.02255988121032715 lenp(ha): 0.10630240735731675 rate: 0.001874436595870516 i: 1892 ha.loc[0,'a'] 2594\n",
      "list(a)[0]: 2594 time: 0.020554065704345703 lenp(ha): 0.10603191777116582 rate: 0.0018696670371023977 i: 1893 ha.loc[0,'a'] 2539\n",
      "list(a)[0]: 2539 time: 0.024064064025878906 lenp(ha): 0.10576142818501488 rate: 0.0018648974783342792 i: 1894 ha.loc[0,'a'] 8012\n",
      "list(a)[0]: 8012 time: 0.019051551818847656 lenp(ha): 0.10549093859886394 rate: 0.001860127919566161 i: 1895 ha.loc[0,'a'] 5540\n",
      "list(a)[0]: 5540 time: 0.01704549789428711 lenp(ha): 0.105220449012713 rate: 0.0018553583607980426 i: 1896 ha.loc[0,'a'] 3645\n",
      "list(a)[0]: 3645 time: 0.02055525779724121 lenp(ha): 0.10494995942656207 rate: 0.0018505888020299243 i: 1897 ha.loc[0,'a'] 7659\n",
      "list(a)[0]: 7659 time: 0.025066137313842773 lenp(ha): 0.10467946984041114 rate: 0.001845819243261806 i: 1898 ha.loc[0,'a'] 5386\n",
      "list(a)[0]: 5386 time: 0.027072668075561523 lenp(ha): 0.10440898025426021 rate: 0.0018410496844936874 i: 1899 ha.loc[0,'a'] 5105\n",
      "list(a)[0]: 5105 time: 0.04762697219848633 lenp(ha): 0.10413849066810928 rate: 0.001836280125725569 i: 1900 ha.loc[0,'a'] 3654\n",
      "list(a)[0]: 3654 time: 0.030080556869506836 lenp(ha): 0.10386800108195834 rate: 0.0018315105669574508 i: 1901 ha.loc[0,'a'] 1912\n",
      "list(a)[0]: 1912 time: 0.023061752319335938 lenp(ha): 0.10359751149580741 rate: 0.0018267410081893325 i: 1902 ha.loc[0,'a'] 3339\n",
      "list(a)[0]: 3339 time: 0.021557092666625977 lenp(ha): 0.10332702190965648 rate: 0.0018219714494212141 i: 1903 ha.loc[0,'a'] 1557\n",
      "list(a)[0]: 1557 time: 0.02356266975402832 lenp(ha): 0.10305653232350555 rate: 0.0018172018906530956 i: 1904 ha.loc[0,'a'] 5026\n",
      "list(a)[0]: 5026 time: 0.021557092666625977 lenp(ha): 0.10278604273735462 rate: 0.0018124323318849773 i: 1905 ha.loc[0,'a'] 8648\n",
      "list(a)[0]: 8648 time: 0.01905035972595215 lenp(ha): 0.10251555315120368 rate: 0.001807662773116859 i: 1906 ha.loc[0,'a'] 962\n",
      "list(a)[0]: 962 time: 0.029578208923339844 lenp(ha): 0.10224506356505275 rate: 0.0018028932143487407 i: 1907 ha.loc[0,'a'] 1611\n",
      "list(a)[0]: 1611 time: 0.025569915771484375 lenp(ha): 0.1019745739789018 rate: 0.0017981236555806223 i: 1908 ha.loc[0,'a'] 4254\n",
      "list(a)[0]: 4254 time: 0.0275723934173584 lenp(ha): 0.10170408439275087 rate: 0.0017933540968125038 i: 1909 ha.loc[0,'a'] 3966\n",
      "list(a)[0]: 3966 time: 0.028074979782104492 lenp(ha): 0.10143359480659994 rate: 0.0017885845380443855 i: 1910 ha.loc[0,'a'] 345\n",
      "list(a)[0]: 345 time: 0.023061275482177734 lenp(ha): 0.10116310522044901 rate: 0.0017838149792762672 i: 1911 ha.loc[0,'a'] 6324\n",
      "list(a)[0]: 6324 time: 0.017546892166137695 lenp(ha): 0.10089261563429808 rate: 0.0017790454205081489 i: 1912 ha.loc[0,'a'] 8279\n",
      "list(a)[0]: 8279 time: 0.029547452926635742 lenp(ha): 0.10062212604814715 rate: 0.0017742758617400305 i: 1913 ha.loc[0,'a'] 4920\n",
      "list(a)[0]: 4920 time: 0.019048690795898438 lenp(ha): 0.10035163646199621 rate: 0.001769506302971912 i: 1914 ha.loc[0,'a'] 3530\n",
      "list(a)[0]: 3530 time: 0.025568485260009766 lenp(ha): 0.10008114687584528 rate: 0.0017647367442037937 i: 1915 ha.loc[0,'a'] 2190\n",
      "list(a)[0]: 2190 time: 0.018047571182250977 lenp(ha): 0.09981065728969435 rate: 0.0017599671854356754 i: 1916 ha.loc[0,'a'] 8703\n",
      "list(a)[0]: 8703 time: 0.021556377410888672 lenp(ha): 0.09954016770354342 rate: 0.001755197626667557 i: 1917 ha.loc[0,'a'] 8281\n",
      "list(a)[0]: 8281 time: 0.017045259475708008 lenp(ha): 0.09926967811739248 rate: 0.0017504280678994387 i: 1918 ha.loc[0,'a'] 3712\n",
      "list(a)[0]: 3712 time: 0.031584739685058594 lenp(ha): 0.09899918853124155 rate: 0.0017456585091313202 i: 1919 ha.loc[0,'a'] 4310\n",
      "list(a)[0]: 4310 time: 0.02657151222229004 lenp(ha): 0.09872869894509062 rate: 0.0017408889503632019 i: 1920 ha.loc[0,'a'] 6546\n",
      "list(a)[0]: 6546 time: 0.018048524856567383 lenp(ha): 0.09845820935893967 rate: 0.0017361193915950836 i: 1921 ha.loc[0,'a'] 6369\n",
      "list(a)[0]: 6369 time: 0.026569843292236328 lenp(ha): 0.09818771977278874 rate: 0.0017313498328269652 i: 1922 ha.loc[0,'a'] 7625\n",
      "list(a)[0]: 7625 time: 0.019049406051635742 lenp(ha): 0.09791723018663781 rate: 0.0017265802740588467 i: 1923 ha.loc[0,'a'] 947\n",
      "list(a)[0]: 947 time: 0.027573585510253906 lenp(ha): 0.09764674060048688 rate: 0.0017218107152907284 i: 1924 ha.loc[0,'a'] 82\n",
      "list(a)[0]: 82 time: 0.024564504623413086 lenp(ha): 0.09737625101433595 rate: 0.00171704115652261 i: 1925 ha.loc[0,'a'] 4551\n",
      "list(a)[0]: 4551 time: 0.026594877243041992 lenp(ha): 0.09710576142818501 rate: 0.0017122715977544918 i: 1926 ha.loc[0,'a'] 7827\n",
      "list(a)[0]: 7827 time: 0.02256011962890625 lenp(ha): 0.09683527184203408 rate: 0.0017075020389863734 i: 1927 ha.loc[0,'a'] 956\n",
      "list(a)[0]: 956 time: 0.018548965454101562 lenp(ha): 0.09656478225588315 rate: 0.001702732480218255 i: 1928 ha.loc[0,'a'] 2062\n",
      "list(a)[0]: 2062 time: 0.020052433013916016 lenp(ha): 0.09629429266973222 rate: 0.0016979629214501366 i: 1929 ha.loc[0,'a'] 53\n",
      "list(a)[0]: 53 time: 0.02506709098815918 lenp(ha): 0.09602380308358129 rate: 0.0016931933626820183 i: 1930 ha.loc[0,'a'] 5374\n",
      "list(a)[0]: 5374 time: 0.018549680709838867 lenp(ha): 0.09575331349743035 rate: 0.0016884238039139 i: 1931 ha.loc[0,'a'] 2807\n",
      "list(a)[0]: 2807 time: 0.018548965454101562 lenp(ha): 0.09548282391127942 rate: 0.0016836542451457816 i: 1932 ha.loc[0,'a'] 5464\n",
      "list(a)[0]: 5464 time: 0.018047094345092773 lenp(ha): 0.09521233432512849 rate: 0.001678884686377663 i: 1933 ha.loc[0,'a'] 5276\n",
      "list(a)[0]: 5276 time: 0.02005290985107422 lenp(ha): 0.09494184473897754 rate: 0.0016741151276095448 i: 1934 ha.loc[0,'a'] 5647\n",
      "list(a)[0]: 5647 time: 0.02005314826965332 lenp(ha): 0.09467135515282661 rate: 0.0016693455688414265 i: 1935 ha.loc[0,'a'] 4900\n",
      "list(a)[0]: 4900 time: 0.024564743041992188 lenp(ha): 0.09440086556667568 rate: 0.0016645760100733081 i: 1936 ha.loc[0,'a'] 3839\n",
      "list(a)[0]: 3839 time: 0.03409075736999512 lenp(ha): 0.09413037598052475 rate: 0.0016598064513051898 i: 1937 ha.loc[0,'a'] 7173\n",
      "list(a)[0]: 7173 time: 0.03709816932678223 lenp(ha): 0.09385988639437381 rate: 0.0016550368925370713 i: 1938 ha.loc[0,'a'] 7166\n",
      "list(a)[0]: 7166 time: 0.018047332763671875 lenp(ha): 0.09358939680822288 rate: 0.001650267333768953 i: 1939 ha.loc[0,'a'] 1249\n",
      "list(a)[0]: 1249 time: 0.029076814651489258 lenp(ha): 0.09331890722207195 rate: 0.0016454977750008347 i: 1940 ha.loc[0,'a'] 2505\n",
      "list(a)[0]: 2505 time: 0.0275723934173584 lenp(ha): 0.09304841763592102 rate: 0.0016407282162327163 i: 1941 ha.loc[0,'a'] 7118\n",
      "list(a)[0]: 7118 time: 0.01804804801940918 lenp(ha): 0.09277792804977009 rate: 0.001635958657464598 i: 1942 ha.loc[0,'a'] 6521\n",
      "list(a)[0]: 6521 time: 0.026068449020385742 lenp(ha): 0.09250743846361915 rate: 0.0016311890986964795 i: 1943 ha.loc[0,'a'] 7930\n",
      "list(a)[0]: 7930 time: 0.02205824851989746 lenp(ha): 0.09223694887746822 rate: 0.0016264195399283612 i: 1944 ha.loc[0,'a'] 2588\n",
      "list(a)[0]: 2588 time: 0.02707219123840332 lenp(ha): 0.09196645929131729 rate: 0.0016216499811602429 i: 1945 ha.loc[0,'a'] 6558\n",
      "list(a)[0]: 6558 time: 0.01905083656311035 lenp(ha): 0.09169596970516636 rate: 0.0016168804223921245 i: 1946 ha.loc[0,'a'] 4077\n",
      "list(a)[0]: 4077 time: 0.020554304122924805 lenp(ha): 0.09142548011901541 rate: 0.0016121108636240062 i: 1947 ha.loc[0,'a'] 5272\n",
      "list(a)[0]: 5272 time: 0.038100242614746094 lenp(ha): 0.09115499053286448 rate: 0.0016073413048558877 i: 1948 ha.loc[0,'a'] 6524\n",
      "list(a)[0]: 6524 time: 0.027573347091674805 lenp(ha): 0.09088450094671355 rate: 0.0016025717460877694 i: 1949 ha.loc[0,'a'] 3213\n",
      "list(a)[0]: 3213 time: 0.018047809600830078 lenp(ha): 0.09061401136056262 rate: 0.001597802187319651 i: 1950 ha.loc[0,'a'] 6519\n",
      "list(a)[0]: 6519 time: 0.021557092666625977 lenp(ha): 0.09034352177441168 rate: 0.0015930326285515327 i: 1951 ha.loc[0,'a'] 8096\n",
      "list(a)[0]: 8096 time: 0.02556610107421875 lenp(ha): 0.09007303218826075 rate: 0.0015882630697834144 i: 1952 ha.loc[0,'a'] 3964\n",
      "list(a)[0]: 3964 time: 0.034090280532836914 lenp(ha): 0.08980254260210982 rate: 0.0015834935110152959 i: 1953 ha.loc[0,'a'] 622\n",
      "list(a)[0]: 622 time: 0.021558046340942383 lenp(ha): 0.08953205301595889 rate: 0.0015787239522471776 i: 1954 ha.loc[0,'a'] 7358\n",
      "list(a)[0]: 7358 time: 0.026069164276123047 lenp(ha): 0.08926156342980796 rate: 0.0015739543934790593 i: 1955 ha.loc[0,'a'] 4830\n",
      "list(a)[0]: 4830 time: 0.029578447341918945 lenp(ha): 0.08899107384365702 rate: 0.001569184834710941 i: 1956 ha.loc[0,'a'] 890\n",
      "list(a)[0]: 890 time: 0.018549680709838867 lenp(ha): 0.08872058425750609 rate: 0.0015644152759428226 i: 1957 ha.loc[0,'a'] 2612\n",
      "list(a)[0]: 2612 time: 0.021558046340942383 lenp(ha): 0.08845009467135516 rate: 0.001559645717174704 i: 1958 ha.loc[0,'a'] 1963\n",
      "list(a)[0]: 1963 time: 0.028576135635375977 lenp(ha): 0.08817960508520421 rate: 0.0015548761584065858 i: 1959 ha.loc[0,'a'] 3212\n",
      "list(a)[0]: 3212 time: 0.019049882888793945 lenp(ha): 0.08790911549905328 rate: 0.0015501065996384674 i: 1960 ha.loc[0,'a'] 7701\n",
      "list(a)[0]: 7701 time: 0.03409147262573242 lenp(ha): 0.08763862591290235 rate: 0.0015453370408703491 i: 1961 ha.loc[0,'a'] 4196\n",
      "list(a)[0]: 4196 time: 0.01854848861694336 lenp(ha): 0.08736813632675142 rate: 0.0015405674821022308 i: 1962 ha.loc[0,'a'] 3998\n",
      "list(a)[0]: 3998 time: 0.01804637908935547 lenp(ha): 0.08709764674060048 rate: 0.0015357979233341123 i: 1963 ha.loc[0,'a'] 2656\n",
      "list(a)[0]: 2656 time: 0.027072906494140625 lenp(ha): 0.08682715715444955 rate: 0.001531028364565994 i: 1964 ha.loc[0,'a'] 4647\n",
      "list(a)[0]: 4647 time: 0.017045259475708008 lenp(ha): 0.08655666756829862 rate: 0.0015262588057978756 i: 1965 ha.loc[0,'a'] 716\n",
      "list(a)[0]: 716 time: 0.01654529571533203 lenp(ha): 0.08628617798214769 rate: 0.0015214892470297573 i: 1966 ha.loc[0,'a'] 6847\n",
      "list(a)[0]: 6847 time: 0.024063825607299805 lenp(ha): 0.08601568839599676 rate: 0.001516719688261639 i: 1967 ha.loc[0,'a'] 341\n",
      "list(a)[0]: 341 time: 0.01704573631286621 lenp(ha): 0.08574519880984582 rate: 0.0015119501294935205 i: 1968 ha.loc[0,'a'] 5178\n",
      "list(a)[0]: 5178 time: 0.026570558547973633 lenp(ha): 0.08547470922369489 rate: 0.0015071805707254022 i: 1969 ha.loc[0,'a'] 3365\n",
      "list(a)[0]: 3365 time: 0.021556615829467773 lenp(ha): 0.08520421963754396 rate: 0.0015024110119572838 i: 1970 ha.loc[0,'a'] 7548\n",
      "list(a)[0]: 7548 time: 0.017577171325683594 lenp(ha): 0.08493373005139303 rate: 0.0014976414531891655 i: 1971 ha.loc[0,'a'] 1927\n",
      "list(a)[0]: 1927 time: 0.017546415328979492 lenp(ha): 0.08466324046524208 rate: 0.0014928718944210472 i: 1972 ha.loc[0,'a'] 4146\n",
      "list(a)[0]: 4146 time: 0.02205824851989746 lenp(ha): 0.08439275087909115 rate: 0.0014881023356529287 i: 1973 ha.loc[0,'a'] 3259\n",
      "list(a)[0]: 3259 time: 0.022090911865234375 lenp(ha): 0.08412226129294022 rate: 0.0014833327768848104 i: 1974 ha.loc[0,'a'] 3439\n",
      "list(a)[0]: 3439 time: 0.031583547592163086 lenp(ha): 0.08385177170678929 rate: 0.001478563218116692 i: 1975 ha.loc[0,'a'] 1926\n",
      "list(a)[0]: 1926 time: 0.04662370681762695 lenp(ha): 0.08358128212063835 rate: 0.0014737936593485737 i: 1976 ha.loc[0,'a'] 2109\n",
      "list(a)[0]: 2109 time: 0.01804518699645996 lenp(ha): 0.08331079253448742 rate: 0.0014690241005804554 i: 1977 ha.loc[0,'a'] 4801\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4801 time: 0.018047809600830078 lenp(ha): 0.08304030294833649 rate: 0.0014642545418123369 i: 1978 ha.loc[0,'a'] 2946\n",
      "list(a)[0]: 2946 time: 0.021557331085205078 lenp(ha): 0.08276981336218556 rate: 0.0014594849830442186 i: 1979 ha.loc[0,'a'] 5874\n",
      "list(a)[0]: 5874 time: 0.01905059814453125 lenp(ha): 0.08249932377603462 rate: 0.0014547154242761002 i: 1980 ha.loc[0,'a'] 4351\n",
      "list(a)[0]: 4351 time: 0.01754617691040039 lenp(ha): 0.08222883418988369 rate: 0.001449945865507982 i: 1981 ha.loc[0,'a'] 3068\n",
      "list(a)[0]: 3068 time: 0.01654362678527832 lenp(ha): 0.08195834460373276 rate: 0.0014451763067398636 i: 1982 ha.loc[0,'a'] 7143\n",
      "list(a)[0]: 7143 time: 0.0245664119720459 lenp(ha): 0.08168785501758183 rate: 0.001440406747971745 i: 1983 ha.loc[0,'a'] 1437\n",
      "list(a)[0]: 1437 time: 0.03358864784240723 lenp(ha): 0.0814173654314309 rate: 0.0014356371892036267 i: 1984 ha.loc[0,'a'] 1594\n",
      "list(a)[0]: 1594 time: 0.017076969146728516 lenp(ha): 0.08114687584527995 rate: 0.0014308676304355084 i: 1985 ha.loc[0,'a'] 1421\n",
      "list(a)[0]: 1421 time: 0.018015623092651367 lenp(ha): 0.08087638625912902 rate: 0.0014260980716673901 i: 1986 ha.loc[0,'a'] 5188\n",
      "list(a)[0]: 5188 time: 0.03455781936645508 lenp(ha): 0.08060589667297809 rate: 0.0014213285128992718 i: 1987 ha.loc[0,'a'] 4754\n",
      "list(a)[0]: 4754 time: 0.0235598087310791 lenp(ha): 0.08033540708682715 rate: 0.0014165589541311533 i: 1988 ha.loc[0,'a'] 4919\n",
      "list(a)[0]: 4919 time: 0.024062633514404297 lenp(ha): 0.08006491750067622 rate: 0.001411789395363035 i: 1989 ha.loc[0,'a'] 1449\n",
      "list(a)[0]: 1449 time: 0.02005457878112793 lenp(ha): 0.07979442791452529 rate: 0.0014070198365949166 i: 1990 ha.loc[0,'a'] 2192\n",
      "list(a)[0]: 2192 time: 0.01955246925354004 lenp(ha): 0.07952393832837436 rate: 0.0014022502778267983 i: 1991 ha.loc[0,'a'] 5551\n",
      "list(a)[0]: 5551 time: 0.019049406051635742 lenp(ha): 0.07925344874222343 rate: 0.0013974807190586798 i: 1992 ha.loc[0,'a'] 3935\n",
      "list(a)[0]: 3935 time: 0.025567054748535156 lenp(ha): 0.0789829591560725 rate: 0.0013927111602905615 i: 1993 ha.loc[0,'a'] 1495\n",
      "list(a)[0]: 1495 time: 0.018580198287963867 lenp(ha): 0.07871246956992156 rate: 0.0013879416015224431 i: 1994 ha.loc[0,'a'] 2506\n",
      "list(a)[0]: 2506 time: 0.020084857940673828 lenp(ha): 0.07844197998377063 rate: 0.0013831720427543248 i: 1995 ha.loc[0,'a'] 7412\n",
      "list(a)[0]: 7412 time: 0.02206110954284668 lenp(ha): 0.0781714903976197 rate: 0.0013784024839862065 i: 1996 ha.loc[0,'a'] 5739\n",
      "list(a)[0]: 5739 time: 0.028544187545776367 lenp(ha): 0.07790100081146877 rate: 0.001373632925218088 i: 1997 ha.loc[0,'a'] 4747\n",
      "list(a)[0]: 4747 time: 0.023060083389282227 lenp(ha): 0.07763051122531782 rate: 0.0013688633664499697 i: 1998 ha.loc[0,'a'] 3070\n",
      "list(a)[0]: 3070 time: 0.022559642791748047 lenp(ha): 0.07736002163916689 rate: 0.0013640938076818513 i: 1999 ha.loc[0,'a'] 5650\n",
      "list(a)[0]: 5650 time: 0.018047809600830078 lenp(ha): 0.07708953205301596 rate: 0.001359324248913733 i: 2000 ha.loc[0,'a'] 7741\n",
      "list(a)[0]: 7741 time: 0.02657032012939453 lenp(ha): 0.07681904246686502 rate: 0.0013545546901456147 i: 2001 ha.loc[0,'a'] 4831\n",
      "list(a)[0]: 4831 time: 0.018549680709838867 lenp(ha): 0.07654855288071409 rate: 0.0013497851313774962 i: 2002 ha.loc[0,'a'] 4790\n",
      "list(a)[0]: 4790 time: 0.0170137882232666 lenp(ha): 0.07627806329456316 rate: 0.0013450155726093779 i: 2003 ha.loc[0,'a'] 7898\n",
      "list(a)[0]: 7898 time: 0.026071786880493164 lenp(ha): 0.07600757370841223 rate: 0.0013402460138412595 i: 2004 ha.loc[0,'a'] 7005\n",
      "list(a)[0]: 7005 time: 0.02306079864501953 lenp(ha): 0.0757370841222613 rate: 0.0013354764550731412 i: 2005 ha.loc[0,'a'] 4312\n",
      "list(a)[0]: 4312 time: 0.021058082580566406 lenp(ha): 0.07546659453611036 rate: 0.001330706896305023 i: 2006 ha.loc[0,'a'] 8301\n",
      "list(a)[0]: 8301 time: 0.02356266975402832 lenp(ha): 0.07519610494995943 rate: 0.0013259373375369044 i: 2007 ha.loc[0,'a'] 2014\n",
      "list(a)[0]: 2014 time: 0.021056652069091797 lenp(ha): 0.0749256153638085 rate: 0.001321167778768786 i: 2008 ha.loc[0,'a'] 8401\n",
      "list(a)[0]: 8401 time: 0.017046689987182617 lenp(ha): 0.07465512577765757 rate: 0.0013163982200006677 i: 2009 ha.loc[0,'a'] 3677\n",
      "list(a)[0]: 3677 time: 0.023061037063598633 lenp(ha): 0.07438463619150662 rate: 0.0013116286612325494 i: 2010 ha.loc[0,'a'] 4935\n",
      "list(a)[0]: 4935 time: 0.01704692840576172 lenp(ha): 0.07411414660535569 rate: 0.001306859102464431 i: 2011 ha.loc[0,'a'] 5111\n",
      "list(a)[0]: 5111 time: 0.020079374313354492 lenp(ha): 0.07384365701920476 rate: 0.0013020895436963126 i: 2012 ha.loc[0,'a'] 6231\n",
      "list(a)[0]: 6231 time: 0.02256011962890625 lenp(ha): 0.07357316743305382 rate: 0.0012973199849281942 i: 2013 ha.loc[0,'a'] 3184\n",
      "list(a)[0]: 3184 time: 0.018514394760131836 lenp(ha): 0.07330267784690289 rate: 0.001292550426160076 i: 2014 ha.loc[0,'a'] 6896\n",
      "list(a)[0]: 6896 time: 0.017546653747558594 lenp(ha): 0.07303218826075196 rate: 0.0012877808673919576 i: 2015 ha.loc[0,'a'] 8148\n",
      "list(a)[0]: 8148 time: 0.02556753158569336 lenp(ha): 0.07276169867460103 rate: 0.0012830113086238393 i: 2016 ha.loc[0,'a'] 4464\n",
      "list(a)[0]: 4464 time: 0.025066137313842773 lenp(ha): 0.0724912090884501 rate: 0.0012782417498557208 i: 2017 ha.loc[0,'a'] 4908\n",
      "list(a)[0]: 4908 time: 0.01654362678527832 lenp(ha): 0.07222071950229916 rate: 0.0012734721910876024 i: 2018 ha.loc[0,'a'] 5842\n",
      "list(a)[0]: 5842 time: 0.022589921951293945 lenp(ha): 0.07195022991614823 rate: 0.0012687026323194841 i: 2019 ha.loc[0,'a'] 1077\n",
      "list(a)[0]: 1077 time: 0.023061513900756836 lenp(ha): 0.0716797403299973 rate: 0.0012639330735513658 i: 2020 ha.loc[0,'a'] 5088\n",
      "list(a)[0]: 5088 time: 0.021054744720458984 lenp(ha): 0.07140925074384637 rate: 0.0012591635147832475 i: 2021 ha.loc[0,'a'] 8175\n",
      "list(a)[0]: 8175 time: 0.029078245162963867 lenp(ha): 0.07113876115769543 rate: 0.001254393956015129 i: 2022 ha.loc[0,'a'] 4704\n",
      "list(a)[0]: 4704 time: 0.02506566047668457 lenp(ha): 0.07086827157154449 rate: 0.0012496243972470106 i: 2023 ha.loc[0,'a'] 389\n",
      "list(a)[0]: 389 time: 0.024095535278320312 lenp(ha): 0.07059778198539356 rate: 0.0012448548384788923 i: 2024 ha.loc[0,'a'] 4495\n",
      "list(a)[0]: 4495 time: 0.02209329605102539 lenp(ha): 0.07032729239924262 rate: 0.001240085279710774 i: 2025 ha.loc[0,'a'] 3225\n",
      "list(a)[0]: 3225 time: 0.017545700073242188 lenp(ha): 0.07005680281309169 rate: 0.0012353157209426557 i: 2026 ha.loc[0,'a'] 2723\n",
      "list(a)[0]: 2723 time: 0.020554542541503906 lenp(ha): 0.06978631322694076 rate: 0.0012305461621745372 i: 2027 ha.loc[0,'a'] 1089\n",
      "list(a)[0]: 1089 time: 0.022058486938476562 lenp(ha): 0.06951582364078983 rate: 0.0012257766034064188 i: 2028 ha.loc[0,'a'] 6036\n",
      "list(a)[0]: 6036 time: 0.01754617691040039 lenp(ha): 0.0692453340546389 rate: 0.0012210070446383005 i: 2029 ha.loc[0,'a'] 8697\n",
      "list(a)[0]: 8697 time: 0.017545223236083984 lenp(ha): 0.06897484446848796 rate: 0.0012162374858701822 i: 2030 ha.loc[0,'a'] 1258\n",
      "list(a)[0]: 1258 time: 0.020554780960083008 lenp(ha): 0.06870435488233703 rate: 0.0012114679271020639 i: 2031 ha.loc[0,'a'] 7806\n",
      "list(a)[0]: 7806 time: 0.0175473690032959 lenp(ha): 0.0684338652961861 rate: 0.0012066983683339453 i: 2032 ha.loc[0,'a'] 7583\n",
      "list(a)[0]: 7583 time: 0.021056413650512695 lenp(ha): 0.06816337571003517 rate: 0.001201928809565827 i: 2033 ha.loc[0,'a'] 6319\n",
      "list(a)[0]: 6319 time: 0.02606940269470215 lenp(ha): 0.06789288612388424 rate: 0.0011971592507977087 i: 2034 ha.loc[0,'a'] 3111\n",
      "list(a)[0]: 3111 time: 0.018047809600830078 lenp(ha): 0.0676223965377333 rate: 0.0011923896920295904 i: 2035 ha.loc[0,'a'] 7691\n",
      "list(a)[0]: 7691 time: 0.02255988121032715 lenp(ha): 0.06735190695158236 rate: 0.001187620133261472 i: 2036 ha.loc[0,'a'] 8147\n",
      "list(a)[0]: 8147 time: 0.02005171775817871 lenp(ha): 0.06708141736543143 rate: 0.0011828505744933535 i: 2037 ha.loc[0,'a'] 3110\n",
      "list(a)[0]: 3110 time: 0.01854848861694336 lenp(ha): 0.0668109277792805 rate: 0.0011780810157252352 i: 2038 ha.loc[0,'a'] 8772\n",
      "list(a)[0]: 8772 time: 0.029077529907226562 lenp(ha): 0.06654043819312956 rate: 0.001173311456957117 i: 2039 ha.loc[0,'a'] 2842\n",
      "list(a)[0]: 2842 time: 0.020585060119628906 lenp(ha): 0.06626994860697863 rate: 0.0011685418981889986 i: 2040 ha.loc[0,'a'] 3651\n",
      "list(a)[0]: 3651 time: 0.018515348434448242 lenp(ha): 0.0659994590208277 rate: 0.0011637723394208803 i: 2041 ha.loc[0,'a'] 7890\n",
      "list(a)[0]: 7890 time: 0.029578447341918945 lenp(ha): 0.06572896943467677 rate: 0.0011590027806527617 i: 2042 ha.loc[0,'a'] 3563\n",
      "list(a)[0]: 3563 time: 0.019051074981689453 lenp(ha): 0.06545847984852583 rate: 0.0011542332218846434 i: 2043 ha.loc[0,'a'] 4655\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4655 time: 0.018549442291259766 lenp(ha): 0.0651879902623749 rate: 0.001149463663116525 i: 2044 ha.loc[0,'a'] 4241\n",
      "list(a)[0]: 4241 time: 0.02506875991821289 lenp(ha): 0.06491750067622397 rate: 0.0011446941043484068 i: 2045 ha.loc[0,'a'] 4145\n",
      "list(a)[0]: 4145 time: 0.01804804801940918 lenp(ha): 0.06464701109007304 rate: 0.0011399245455802885 i: 2046 ha.loc[0,'a'] 3374\n",
      "list(a)[0]: 3374 time: 0.020554780960083008 lenp(ha): 0.0643765215039221 rate: 0.00113515498681217 i: 2047 ha.loc[0,'a'] 7055\n",
      "list(a)[0]: 7055 time: 0.02155280113220215 lenp(ha): 0.06410603191777117 rate: 0.0011303854280440516 i: 2048 ha.loc[0,'a'] 851\n",
      "list(a)[0]: 851 time: 0.025569677352905273 lenp(ha): 0.06383554233162023 rate: 0.0011256158692759333 i: 2049 ha.loc[0,'a'] 7292\n",
      "list(a)[0]: 7292 time: 0.019553422927856445 lenp(ha): 0.0635650527454693 rate: 0.001120846310507815 i: 2050 ha.loc[0,'a'] 7328\n",
      "list(a)[0]: 7328 time: 0.02205944061279297 lenp(ha): 0.06329456315931836 rate: 0.0011160767517396967 i: 2051 ha.loc[0,'a'] 5345\n",
      "list(a)[0]: 5345 time: 0.021557331085205078 lenp(ha): 0.06302407357316743 rate: 0.0011113071929715781 i: 2052 ha.loc[0,'a'] 4066\n",
      "list(a)[0]: 4066 time: 0.020556211471557617 lenp(ha): 0.0627535839870165 rate: 0.0011065376342034598 i: 2053 ha.loc[0,'a'] 5211\n",
      "list(a)[0]: 5211 time: 0.027072668075561523 lenp(ha): 0.062483094400865566 rate: 0.0011017680754353415 i: 2054 ha.loc[0,'a'] 7489\n",
      "list(a)[0]: 7489 time: 0.02306079864501953 lenp(ha): 0.062212604814714634 rate: 0.0010969985166672232 i: 2055 ha.loc[0,'a'] 6331\n",
      "list(a)[0]: 6331 time: 0.017547130584716797 lenp(ha): 0.0619421152285637 rate: 0.0010922289578991046 i: 2056 ha.loc[0,'a'] 2305\n",
      "list(a)[0]: 2305 time: 0.03007984161376953 lenp(ha): 0.06167162564241277 rate: 0.0010874593991309863 i: 2057 ha.loc[0,'a'] 8285\n",
      "list(a)[0]: 8285 time: 0.01704573631286621 lenp(ha): 0.06140113605626183 rate: 0.001082689840362868 i: 2058 ha.loc[0,'a'] 43\n",
      "list(a)[0]: 43 time: 0.02005314826965332 lenp(ha): 0.0611306464701109 rate: 0.0010779202815947497 i: 2059 ha.loc[0,'a'] 518\n",
      "list(a)[0]: 518 time: 0.02205824851989746 lenp(ha): 0.060860156883959966 rate: 0.0010731507228266314 i: 2060 ha.loc[0,'a'] 8824\n",
      "list(a)[0]: 8824 time: 0.01804947853088379 lenp(ha): 0.060589667297809034 rate: 0.0010683811640585128 i: 2061 ha.loc[0,'a'] 5332\n",
      "list(a)[0]: 5332 time: 0.01905202865600586 lenp(ha): 0.0603191777116581 rate: 0.0010636116052903945 i: 2062 ha.loc[0,'a'] 3083\n",
      "list(a)[0]: 3083 time: 0.024094343185424805 lenp(ha): 0.06004868812550717 rate: 0.0010588420465222762 i: 2063 ha.loc[0,'a'] 359\n",
      "list(a)[0]: 359 time: 0.01704716682434082 lenp(ha): 0.05977819853935624 rate: 0.0010540724877541579 i: 2064 ha.loc[0,'a'] 4652\n",
      "list(a)[0]: 4652 time: 0.026603221893310547 lenp(ha): 0.0595077089532053 rate: 0.0010493029289860396 i: 2065 ha.loc[0,'a'] 5656\n",
      "list(a)[0]: 5656 time: 0.02309250831604004 lenp(ha): 0.05923721936705437 rate: 0.001044533370217921 i: 2066 ha.loc[0,'a'] 2748\n",
      "list(a)[0]: 2748 time: 0.017546653747558594 lenp(ha): 0.058966729780903435 rate: 0.0010397638114498027 i: 2067 ha.loc[0,'a'] 8307\n",
      "list(a)[0]: 8307 time: 0.032083749771118164 lenp(ha): 0.0586962401947525 rate: 0.0010349942526816844 i: 2068 ha.loc[0,'a'] 6583\n",
      "list(a)[0]: 6583 time: 0.02055525779724121 lenp(ha): 0.05842575060860157 rate: 0.001030224693913566 i: 2069 ha.loc[0,'a'] 6159\n",
      "list(a)[0]: 6159 time: 0.01804637908935547 lenp(ha): 0.05815526102245064 rate: 0.0010254551351454478 i: 2070 ha.loc[0,'a'] 2541\n",
      "list(a)[0]: 2541 time: 0.019582033157348633 lenp(ha): 0.0578847714362997 rate: 0.0010206855763773292 i: 2071 ha.loc[0,'a'] 5070\n",
      "list(a)[0]: 5070 time: 0.02857661247253418 lenp(ha): 0.05761428185014877 rate: 0.001015916017609211 i: 2072 ha.loc[0,'a'] 277\n",
      "list(a)[0]: 277 time: 0.018548965454101562 lenp(ha): 0.057343792263997835 rate: 0.0010111464588410926 i: 2073 ha.loc[0,'a'] 5750\n",
      "list(a)[0]: 5750 time: 0.024064064025878906 lenp(ha): 0.0570733026778469 rate: 0.0010063769000729743 i: 2074 ha.loc[0,'a'] 6944\n",
      "list(a)[0]: 6944 time: 0.021556615829467773 lenp(ha): 0.05680281309169597 rate: 0.001001607341304856 i: 2075 ha.loc[0,'a'] 7234\n",
      "list(a)[0]: 7234 time: 0.028575420379638672 lenp(ha): 0.05653232350554504 rate: 0.0009968377825367374 i: 2076 ha.loc[0,'a'] 6646\n",
      "list(a)[0]: 6646 time: 0.016543865203857422 lenp(ha): 0.05626183391939411 rate: 0.0009920682237686191 i: 2077 ha.loc[0,'a'] 5467\n",
      "list(a)[0]: 5467 time: 0.021556377410888672 lenp(ha): 0.05599134433324317 rate: 0.0009872986650005008 i: 2078 ha.loc[0,'a'] 2223\n",
      "list(a)[0]: 2223 time: 0.01704549789428711 lenp(ha): 0.055720854747092236 rate: 0.0009825291062323825 i: 2079 ha.loc[0,'a'] 73\n",
      "list(a)[0]: 73 time: 0.022558927536010742 lenp(ha): 0.0554503651609413 rate: 0.0009777595474642642 i: 2080 ha.loc[0,'a'] 4786\n",
      "list(a)[0]: 4786 time: 0.030110597610473633 lenp(ha): 0.05517987557479037 rate: 0.0009729899886961457 i: 2081 ha.loc[0,'a'] 8806\n",
      "list(a)[0]: 8806 time: 0.022560596466064453 lenp(ha): 0.05490938598863944 rate: 0.0009682204299280273 i: 2082 ha.loc[0,'a'] 4160\n",
      "list(a)[0]: 4160 time: 0.017043590545654297 lenp(ha): 0.05463889640248851 rate: 0.000963450871159909 i: 2083 ha.loc[0,'a'] 4615\n",
      "list(a)[0]: 4615 time: 0.021055936813354492 lenp(ha): 0.05436840681633757 rate: 0.0009586813123917907 i: 2084 ha.loc[0,'a'] 8166\n",
      "list(a)[0]: 8166 time: 0.017546653747558594 lenp(ha): 0.054097917230186636 rate: 0.0009539117536236723 i: 2085 ha.loc[0,'a'] 2853\n",
      "list(a)[0]: 2853 time: 0.017044782638549805 lenp(ha): 0.053827427644035704 rate: 0.0009491421948555539 i: 2086 ha.loc[0,'a'] 5743\n",
      "list(a)[0]: 5743 time: 0.026070594787597656 lenp(ha): 0.05355693805788477 rate: 0.0009443726360874355 i: 2087 ha.loc[0,'a'] 4045\n",
      "list(a)[0]: 4045 time: 0.016543865203857422 lenp(ha): 0.05328644847173384 rate: 0.0009396030773193172 i: 2088 ha.loc[0,'a'] 1075\n",
      "list(a)[0]: 1075 time: 0.017519712448120117 lenp(ha): 0.05301595888558291 rate: 0.0009348335185511989 i: 2089 ha.loc[0,'a'] 2785\n",
      "list(a)[0]: 2785 time: 0.025569438934326172 lenp(ha): 0.05274546929943197 rate: 0.0009300639597830804 i: 2090 ha.loc[0,'a'] 4184\n",
      "list(a)[0]: 4184 time: 0.017075061798095703 lenp(ha): 0.052474979713281036 rate: 0.0009252944010149621 i: 2091 ha.loc[0,'a'] 5972\n",
      "list(a)[0]: 5972 time: 0.01757359504699707 lenp(ha): 0.052204490127130104 rate: 0.0009205248422468437 i: 2092 ha.loc[0,'a'] 5079\n",
      "list(a)[0]: 5079 time: 0.021555185317993164 lenp(ha): 0.05193400054097917 rate: 0.0009157552834787254 i: 2093 ha.loc[0,'a'] 5277\n",
      "list(a)[0]: 5277 time: 0.02606987953186035 lenp(ha): 0.05166351095482824 rate: 0.0009109857247106071 i: 2094 ha.loc[0,'a'] 5069\n",
      "list(a)[0]: 5069 time: 0.017546653747558594 lenp(ha): 0.05139302136867731 rate: 0.0009062161659424886 i: 2095 ha.loc[0,'a'] 1536\n",
      "list(a)[0]: 1536 time: 0.030581235885620117 lenp(ha): 0.051122531782526376 rate: 0.0009014466071743703 i: 2096 ha.loc[0,'a'] 7379\n",
      "list(a)[0]: 7379 time: 0.01754617691040039 lenp(ha): 0.05085204219637544 rate: 0.0008966770484062519 i: 2097 ha.loc[0,'a'] 5628\n",
      "list(a)[0]: 5628 time: 0.020555496215820312 lenp(ha): 0.050581552610224505 rate: 0.0008919074896381336 i: 2098 ha.loc[0,'a'] 8266\n",
      "list(a)[0]: 8266 time: 0.02105712890625 lenp(ha): 0.05031106302407357 rate: 0.0008871379308700153 i: 2099 ha.loc[0,'a'] 6047\n",
      "list(a)[0]: 6047 time: 0.018047571182250977 lenp(ha): 0.05004057343792264 rate: 0.0008823683721018968 i: 2100 ha.loc[0,'a'] 4742\n",
      "list(a)[0]: 4742 time: 0.017514467239379883 lenp(ha): 0.04977008385177171 rate: 0.0008775988133337785 i: 2101 ha.loc[0,'a'] 3330\n",
      "list(a)[0]: 3330 time: 0.030582427978515625 lenp(ha): 0.049499594265620776 rate: 0.0008728292545656601 i: 2102 ha.loc[0,'a'] 7144\n",
      "list(a)[0]: 7144 time: 0.01804804801940918 lenp(ha): 0.04922910467946984 rate: 0.0008680596957975418 i: 2103 ha.loc[0,'a'] 5798\n",
      "list(a)[0]: 5798 time: 0.021558046340942383 lenp(ha): 0.048958615093318905 rate: 0.0008632901370294234 i: 2104 ha.loc[0,'a'] 2488\n",
      "list(a)[0]: 2488 time: 0.03609585762023926 lenp(ha): 0.04868812550716797 rate: 0.000858520578261305 i: 2105 ha.loc[0,'a'] 8043\n",
      "list(a)[0]: 8043 time: 0.017546892166137695 lenp(ha): 0.04841763592101704 rate: 0.0008537510194931867 i: 2106 ha.loc[0,'a'] 1565\n",
      "list(a)[0]: 1565 time: 0.019551515579223633 lenp(ha): 0.04814714633486611 rate: 0.0008489814607250683 i: 2107 ha.loc[0,'a'] 5707\n",
      "list(a)[0]: 5707 time: 0.022561073303222656 lenp(ha): 0.04787665674871518 rate: 0.00084421190195695 i: 2108 ha.loc[0,'a'] 3054\n",
      "list(a)[0]: 3054 time: 0.02005600929260254 lenp(ha): 0.047606167162564245 rate: 0.0008394423431888316 i: 2109 ha.loc[0,'a'] 417\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 417 time: 0.01754617691040039 lenp(ha): 0.047335677576413306 rate: 0.0008346727844207132 i: 2110 ha.loc[0,'a'] 3664\n",
      "list(a)[0]: 3664 time: 0.029082059860229492 lenp(ha): 0.047065187990262373 rate: 0.0008299032256525949 i: 2111 ha.loc[0,'a'] 6941\n",
      "list(a)[0]: 6941 time: 0.01707601547241211 lenp(ha): 0.04679469840411144 rate: 0.0008251336668844765 i: 2112 ha.loc[0,'a'] 2213\n",
      "list(a)[0]: 2213 time: 0.02757406234741211 lenp(ha): 0.04652420881796051 rate: 0.0008203641081163582 i: 2113 ha.loc[0,'a'] 788\n",
      "list(a)[0]: 788 time: 0.029578685760498047 lenp(ha): 0.04625371923180958 rate: 0.0008155945493482397 i: 2114 ha.loc[0,'a'] 5478\n",
      "list(a)[0]: 5478 time: 0.020053386688232422 lenp(ha): 0.045983229645658645 rate: 0.0008108249905801214 i: 2115 ha.loc[0,'a'] 8011\n",
      "list(a)[0]: 8011 time: 0.02306199073791504 lenp(ha): 0.045712740059507706 rate: 0.0008060554318120031 i: 2116 ha.loc[0,'a'] 7822\n",
      "list(a)[0]: 7822 time: 0.025098800659179688 lenp(ha): 0.045442250473356774 rate: 0.0008012858730438847 i: 2117 ha.loc[0,'a'] 5021\n",
      "list(a)[0]: 5021 time: 0.020055055618286133 lenp(ha): 0.04517176088720584 rate: 0.0007965163142757664 i: 2118 ha.loc[0,'a'] 1739\n",
      "list(a)[0]: 1739 time: 0.01908254623413086 lenp(ha): 0.04490127130105491 rate: 0.0007917467555076479 i: 2119 ha.loc[0,'a'] 2510\n",
      "list(a)[0]: 2510 time: 0.02305912971496582 lenp(ha): 0.04463078171490398 rate: 0.0007869771967395296 i: 2120 ha.loc[0,'a'] 6916\n",
      "list(a)[0]: 6916 time: 0.02506542205810547 lenp(ha): 0.044360292128753046 rate: 0.0007822076379714113 i: 2121 ha.loc[0,'a'] 1480\n",
      "list(a)[0]: 1480 time: 0.018048763275146484 lenp(ha): 0.044089802542602106 rate: 0.0007774380792032929 i: 2122 ha.loc[0,'a'] 8439\n",
      "list(a)[0]: 8439 time: 0.02760601043701172 lenp(ha): 0.043819312956451174 rate: 0.0007726685204351746 i: 2123 ha.loc[0,'a'] 131\n",
      "list(a)[0]: 131 time: 0.018080949783325195 lenp(ha): 0.04354882337030024 rate: 0.0007678989616670561 i: 2124 ha.loc[0,'a'] 7264\n",
      "list(a)[0]: 7264 time: 0.02606940269470215 lenp(ha): 0.04327833378414931 rate: 0.0007631294028989378 i: 2125 ha.loc[0,'a'] 4008\n",
      "list(a)[0]: 4008 time: 0.02255868911743164 lenp(ha): 0.04300784419799838 rate: 0.0007583598441308195 i: 2126 ha.loc[0,'a'] 700\n",
      "list(a)[0]: 700 time: 0.0175783634185791 lenp(ha): 0.042737354611847446 rate: 0.0007535902853627011 i: 2127 ha.loc[0,'a'] 2949\n",
      "list(a)[0]: 2949 time: 0.018549442291259766 lenp(ha): 0.042466865025696514 rate: 0.0007488207265945828 i: 2128 ha.loc[0,'a'] 2646\n",
      "list(a)[0]: 2646 time: 0.023091793060302734 lenp(ha): 0.042196375439545575 rate: 0.0007440511678264643 i: 2129 ha.loc[0,'a'] 762\n",
      "list(a)[0]: 762 time: 0.022557497024536133 lenp(ha): 0.04192588585339464 rate: 0.000739281609058346 i: 2130 ha.loc[0,'a'] 3681\n",
      "list(a)[0]: 3681 time: 0.017545700073242188 lenp(ha): 0.04165539626724371 rate: 0.0007345120502902277 i: 2131 ha.loc[0,'a'] 6865\n",
      "list(a)[0]: 6865 time: 0.02707076072692871 lenp(ha): 0.04138490668109278 rate: 0.0007297424915221093 i: 2132 ha.loc[0,'a'] 5691\n",
      "list(a)[0]: 5691 time: 0.020554065704345703 lenp(ha): 0.041114417094941846 rate: 0.000724972932753991 i: 2133 ha.loc[0,'a'] 3299\n",
      "list(a)[0]: 3299 time: 0.020554065704345703 lenp(ha): 0.040843927508790914 rate: 0.0007202033739858725 i: 2134 ha.loc[0,'a'] 7102\n",
      "list(a)[0]: 7102 time: 0.02306199073791504 lenp(ha): 0.040573437922639975 rate: 0.0007154338152177542 i: 2135 ha.loc[0,'a'] 8197\n",
      "list(a)[0]: 8197 time: 0.02506852149963379 lenp(ha): 0.04030294833648904 rate: 0.0007106642564496359 i: 2136 ha.loc[0,'a'] 5911\n",
      "list(a)[0]: 5911 time: 0.018549203872680664 lenp(ha): 0.04003245875033811 rate: 0.0007058946976815175 i: 2137 ha.loc[0,'a'] 8646\n",
      "list(a)[0]: 8646 time: 0.018047571182250977 lenp(ha): 0.03976196916418718 rate: 0.0007011251389133992 i: 2138 ha.loc[0,'a'] 5674\n",
      "list(a)[0]: 5674 time: 0.01905083656311035 lenp(ha): 0.03949147957803625 rate: 0.0006963555801452807 i: 2139 ha.loc[0,'a'] 6942\n",
      "list(a)[0]: 6942 time: 0.018546581268310547 lenp(ha): 0.039220989991885315 rate: 0.0006915860213771624 i: 2140 ha.loc[0,'a'] 7515\n",
      "list(a)[0]: 7515 time: 0.024565458297729492 lenp(ha): 0.03895050040573438 rate: 0.000686816462609044 i: 2141 ha.loc[0,'a'] 2747\n",
      "list(a)[0]: 2747 time: 0.018548965454101562 lenp(ha): 0.038680010819583444 rate: 0.0006820469038409257 i: 2142 ha.loc[0,'a'] 7193\n",
      "list(a)[0]: 7193 time: 0.017545461654663086 lenp(ha): 0.03840952123343251 rate: 0.0006772773450728074 i: 2143 ha.loc[0,'a'] 819\n",
      "list(a)[0]: 819 time: 0.024063587188720703 lenp(ha): 0.03813903164728158 rate: 0.0006725077863046889 i: 2144 ha.loc[0,'a'] 3301\n",
      "list(a)[0]: 3301 time: 0.018046855926513672 lenp(ha): 0.03786854206113065 rate: 0.0006677382275365706 i: 2145 ha.loc[0,'a'] 3496\n",
      "list(a)[0]: 3496 time: 0.02606940269470215 lenp(ha): 0.037598052474979715 rate: 0.0006629686687684522 i: 2146 ha.loc[0,'a'] 5384\n",
      "list(a)[0]: 5384 time: 0.0210568904876709 lenp(ha): 0.03732756288882878 rate: 0.0006581991100003339 i: 2147 ha.loc[0,'a'] 7966\n",
      "list(a)[0]: 7966 time: 0.02907729148864746 lenp(ha): 0.037057073302677844 rate: 0.0006534295512322155 i: 2148 ha.loc[0,'a'] 1378\n",
      "list(a)[0]: 1378 time: 0.020054101943969727 lenp(ha): 0.03678658371652691 rate: 0.0006486599924640971 i: 2149 ha.loc[0,'a'] 848\n",
      "list(a)[0]: 848 time: 0.017545223236083984 lenp(ha): 0.03651609413037598 rate: 0.0006438904336959788 i: 2150 ha.loc[0,'a'] 2260\n",
      "list(a)[0]: 2260 time: 0.026089906692504883 lenp(ha): 0.03624560454422505 rate: 0.0006391208749278604 i: 2151 ha.loc[0,'a'] 2445\n",
      "list(a)[0]: 2445 time: 0.018535375595092773 lenp(ha): 0.035975114958074116 rate: 0.0006343513161597421 i: 2152 ha.loc[0,'a'] 6450\n",
      "list(a)[0]: 6450 time: 0.030582189559936523 lenp(ha): 0.035704625371923183 rate: 0.0006295817573916237 i: 2153 ha.loc[0,'a'] 8110\n",
      "list(a)[0]: 8110 time: 0.018549203872680664 lenp(ha): 0.035434135785772244 rate: 0.0006248121986235053 i: 2154 ha.loc[0,'a'] 2267\n",
      "list(a)[0]: 2267 time: 0.018048524856567383 lenp(ha): 0.03516364619962131 rate: 0.000620042639855387 i: 2155 ha.loc[0,'a'] 765\n",
      "list(a)[0]: 765 time: 0.024565458297729492 lenp(ha): 0.03489315661347038 rate: 0.0006152730810872686 i: 2156 ha.loc[0,'a'] 3928\n",
      "list(a)[0]: 3928 time: 0.017044544219970703 lenp(ha): 0.03462266702731945 rate: 0.0006105035223191503 i: 2157 ha.loc[0,'a'] 8302\n",
      "list(a)[0]: 8302 time: 0.01751399040222168 lenp(ha): 0.034352177441168516 rate: 0.0006057339635510319 i: 2158 ha.loc[0,'a'] 4642\n",
      "list(a)[0]: 4642 time: 0.03258633613586426 lenp(ha): 0.034081687855017584 rate: 0.0006009644047829135 i: 2159 ha.loc[0,'a'] 3687\n",
      "list(a)[0]: 3687 time: 0.017546415328979492 lenp(ha): 0.03381119826886665 rate: 0.0005961948460147952 i: 2160 ha.loc[0,'a'] 4204\n",
      "list(a)[0]: 4204 time: 0.02506279945373535 lenp(ha): 0.03354070868271571 rate: 0.0005914252872466768 i: 2161 ha.loc[0,'a'] 5499\n",
      "list(a)[0]: 5499 time: 0.022560834884643555 lenp(ha): 0.03327021909656478 rate: 0.0005866557284785585 i: 2162 ha.loc[0,'a'] 8571\n",
      "list(a)[0]: 8571 time: 0.027571439743041992 lenp(ha): 0.03299972951041385 rate: 0.0005818861697104401 i: 2163 ha.loc[0,'a'] 7093\n",
      "list(a)[0]: 7093 time: 0.017045259475708008 lenp(ha): 0.032729239924262916 rate: 0.0005771166109423217 i: 2164 ha.loc[0,'a'] 2819\n",
      "list(a)[0]: 2819 time: 0.02406454086303711 lenp(ha): 0.032458750338111984 rate: 0.0005723470521742034 i: 2165 ha.loc[0,'a'] 2827\n",
      "list(a)[0]: 2827 time: 0.01755356788635254 lenp(ha): 0.03218826075196105 rate: 0.000567577493406085 i: 2166 ha.loc[0,'a'] 6476\n",
      "list(a)[0]: 6476 time: 0.01858067512512207 lenp(ha): 0.03191777116581011 rate: 0.0005628079346379667 i: 2167 ha.loc[0,'a'] 1762\n",
      "list(a)[0]: 1762 time: 0.0225679874420166 lenp(ha): 0.03164728157965918 rate: 0.0005580383758698483 i: 2168 ha.loc[0,'a'] 8523\n",
      "list(a)[0]: 8523 time: 0.017546415328979492 lenp(ha): 0.03137679199350825 rate: 0.0005532688171017299 i: 2169 ha.loc[0,'a'] 7056\n",
      "list(a)[0]: 7056 time: 0.02005314826965332 lenp(ha): 0.031106302407357317 rate: 0.0005484992583336116 i: 2170 ha.loc[0,'a'] 1741\n",
      "list(a)[0]: 1741 time: 0.03158307075500488 lenp(ha): 0.030835812821206385 rate: 0.0005437296995654932 i: 2171 ha.loc[0,'a'] 3237\n",
      "list(a)[0]: 3237 time: 0.01855015754699707 lenp(ha): 0.03056532323505545 rate: 0.0005389601407973748 i: 2172 ha.loc[0,'a'] 1274\n",
      "list(a)[0]: 1274 time: 0.018548250198364258 lenp(ha): 0.030294833648904517 rate: 0.0005341905820292564 i: 2173 ha.loc[0,'a'] 7446\n",
      "list(a)[0]: 7446 time: 0.026073217391967773 lenp(ha): 0.030024344062753585 rate: 0.0005294210232611381 i: 2174 ha.loc[0,'a'] 6924\n",
      "list(a)[0]: 6924 time: 0.017546653747558594 lenp(ha): 0.02975385447660265 rate: 0.0005246514644930198 i: 2175 ha.loc[0,'a'] 3734\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3734 time: 0.018550395965576172 lenp(ha): 0.029483364890451717 rate: 0.0005198819057249014 i: 2176 ha.loc[0,'a'] 5633\n",
      "list(a)[0]: 5633 time: 0.033086538314819336 lenp(ha): 0.029212875304300785 rate: 0.000515112346956783 i: 2177 ha.loc[0,'a'] 1363\n",
      "list(a)[0]: 1363 time: 0.018047332763671875 lenp(ha): 0.02894238571814985 rate: 0.0005103427881886646 i: 2178 ha.loc[0,'a'] 6686\n",
      "list(a)[0]: 6686 time: 0.018595218658447266 lenp(ha): 0.028671896131998918 rate: 0.0005055732294205463 i: 2179 ha.loc[0,'a'] 5435\n",
      "list(a)[0]: 5435 time: 0.02058887481689453 lenp(ha): 0.028401406545847985 rate: 0.000500803670652428 i: 2180 ha.loc[0,'a'] 3774\n",
      "list(a)[0]: 3774 time: 0.018549442291259766 lenp(ha): 0.028130916959697053 rate: 0.0004960341118843096 i: 2181 ha.loc[0,'a'] 2602\n",
      "list(a)[0]: 2602 time: 0.01704573631286621 lenp(ha): 0.027860427373546118 rate: 0.0004912645531161912 i: 2182 ha.loc[0,'a'] 7518\n",
      "list(a)[0]: 7518 time: 0.031586647033691406 lenp(ha): 0.027589937787395186 rate: 0.00048649499434807287 i: 2183 ha.loc[0,'a'] 4095\n",
      "list(a)[0]: 4095 time: 0.019553184509277344 lenp(ha): 0.027319448201244254 rate: 0.0004817254355799545 i: 2184 ha.loc[0,'a'] 6252\n",
      "list(a)[0]: 6252 time: 0.01704549789428711 lenp(ha): 0.027048958615093318 rate: 0.0004769558768118361 i: 2185 ha.loc[0,'a'] 2695\n",
      "list(a)[0]: 2695 time: 0.021556615829467773 lenp(ha): 0.026778469028942386 rate: 0.00047218631804371775 i: 2186 ha.loc[0,'a'] 7423\n",
      "list(a)[0]: 7423 time: 0.018592357635498047 lenp(ha): 0.026507979442791454 rate: 0.00046741675927559944 i: 2187 ha.loc[0,'a'] 1096\n",
      "list(a)[0]: 1096 time: 0.017548084259033203 lenp(ha): 0.026237489856640518 rate: 0.00046264720050748107 i: 2188 ha.loc[0,'a'] 193\n",
      "list(a)[0]: 193 time: 0.028076648712158203 lenp(ha): 0.025967000270489586 rate: 0.0004578776417393627 i: 2189 ha.loc[0,'a'] 7237\n",
      "list(a)[0]: 7237 time: 0.025598764419555664 lenp(ha): 0.025696510684338654 rate: 0.0004531080829712443 i: 2190 ha.loc[0,'a'] 8303\n",
      "list(a)[0]: 8303 time: 0.017548799514770508 lenp(ha): 0.02542602109818772 rate: 0.00044833852420312595 i: 2191 ha.loc[0,'a'] 8119\n",
      "list(a)[0]: 8119 time: 0.021056413650512695 lenp(ha): 0.025155531512036786 rate: 0.00044356896543500763 i: 2192 ha.loc[0,'a'] 8562\n",
      "list(a)[0]: 8562 time: 0.016042232513427734 lenp(ha): 0.024885041925885854 rate: 0.00043879940666688926 i: 2193 ha.loc[0,'a'] 1489\n",
      "list(a)[0]: 1489 time: 0.026096582412719727 lenp(ha): 0.02461455233973492 rate: 0.0004340298478987709 i: 2194 ha.loc[0,'a'] 3371\n",
      "list(a)[0]: 3371 time: 0.02152538299560547 lenp(ha): 0.024344062753583987 rate: 0.0004292602891306525 i: 2195 ha.loc[0,'a'] 8500\n",
      "list(a)[0]: 8500 time: 0.01804828643798828 lenp(ha): 0.024073573167433054 rate: 0.00042449073036253415 i: 2196 ha.loc[0,'a'] 7988\n",
      "list(a)[0]: 7988 time: 0.023073673248291016 lenp(ha): 0.023803083581282122 rate: 0.0004197211715944158 i: 2197 ha.loc[0,'a'] 8049\n",
      "list(a)[0]: 8049 time: 0.023093223571777344 lenp(ha): 0.023532593995131187 rate: 0.00041495161282629746 i: 2198 ha.loc[0,'a'] 1308\n",
      "list(a)[0]: 1308 time: 0.02205967903137207 lenp(ha): 0.023262104408980255 rate: 0.0004101820540581791 i: 2199 ha.loc[0,'a'] 6618\n",
      "list(a)[0]: 6618 time: 0.017015933990478516 lenp(ha): 0.022991614822829323 rate: 0.0004054124952900607 i: 2200 ha.loc[0,'a'] 5649\n",
      "list(a)[0]: 5649 time: 0.024066448211669922 lenp(ha): 0.022721125236678387 rate: 0.00040064293652194234 i: 2201 ha.loc[0,'a'] 6112\n",
      "list(a)[0]: 6112 time: 0.017077207565307617 lenp(ha): 0.022450635650527455 rate: 0.00039587337775382397 i: 2202 ha.loc[0,'a'] 4226\n",
      "list(a)[0]: 4226 time: 0.017046451568603516 lenp(ha): 0.022180146064376523 rate: 0.00039110381898570565 i: 2203 ha.loc[0,'a'] 2904\n",
      "list(a)[0]: 2904 time: 0.02606821060180664 lenp(ha): 0.021909656478225587 rate: 0.0003863342602175873 i: 2204 ha.loc[0,'a'] 6712\n",
      "list(a)[0]: 6712 time: 0.01757669448852539 lenp(ha): 0.021639166892074655 rate: 0.0003815647014494689 i: 2205 ha.loc[0,'a'] 6214\n",
      "list(a)[0]: 6214 time: 0.0170748233795166 lenp(ha): 0.021368677305923723 rate: 0.00037679514268135054 i: 2206 ha.loc[0,'a'] 2771\n",
      "list(a)[0]: 2771 time: 0.02155900001525879 lenp(ha): 0.021098187719772787 rate: 0.00037202558391323217 i: 2207 ha.loc[0,'a'] 206\n",
      "list(a)[0]: 206 time: 0.019551515579223633 lenp(ha): 0.020827698133621855 rate: 0.00036725602514511385 i: 2208 ha.loc[0,'a'] 1287\n",
      "list(a)[0]: 1287 time: 0.024063587188720703 lenp(ha): 0.020557208547470923 rate: 0.0003624864663769955 i: 2209 ha.loc[0,'a'] 617\n",
      "list(a)[0]: 617 time: 0.02256155014038086 lenp(ha): 0.020286718961319988 rate: 0.0003577169076088771 i: 2210 ha.loc[0,'a'] 1130\n",
      "list(a)[0]: 1130 time: 0.019552230834960938 lenp(ha): 0.020016229375169056 rate: 0.00035294734884075874 i: 2211 ha.loc[0,'a'] 6969\n",
      "list(a)[0]: 6969 time: 0.017546415328979492 lenp(ha): 0.019745739789018123 rate: 0.00034817779007264036 i: 2212 ha.loc[0,'a'] 8116\n",
      "list(a)[0]: 8116 time: 0.030078649520874023 lenp(ha): 0.01947525020286719 rate: 0.000343408231304522 i: 2213 ha.loc[0,'a'] 3203\n",
      "list(a)[0]: 3203 time: 0.02603936195373535 lenp(ha): 0.019204760616716256 rate: 0.0003386386725364037 i: 2214 ha.loc[0,'a'] 778\n",
      "list(a)[0]: 778 time: 0.02005290985107422 lenp(ha): 0.018934271030565324 rate: 0.0003338691137682853 i: 2215 ha.loc[0,'a'] 6490\n",
      "list(a)[0]: 6490 time: 0.02657175064086914 lenp(ha): 0.01866378144441439 rate: 0.00032909955500016693 i: 2216 ha.loc[0,'a'] 1100\n",
      "list(a)[0]: 1100 time: 0.02456498146057129 lenp(ha): 0.018393291858263456 rate: 0.00032432999623204856 i: 2217 ha.loc[0,'a'] 3356\n",
      "list(a)[0]: 3356 time: 0.02155756950378418 lenp(ha): 0.018122802272112524 rate: 0.0003195604374639302 i: 2218 ha.loc[0,'a'] 3907\n",
      "list(a)[0]: 3907 time: 0.034592390060424805 lenp(ha): 0.017852312685961592 rate: 0.00031479087869581187 i: 2219 ha.loc[0,'a'] 8145\n",
      "list(a)[0]: 8145 time: 0.019051074981689453 lenp(ha): 0.017581823099810656 rate: 0.0003100213199276935 i: 2220 ha.loc[0,'a'] 2071\n",
      "list(a)[0]: 2071 time: 0.021557331085205078 lenp(ha): 0.017311333513659724 rate: 0.00030525176115957513 i: 2221 ha.loc[0,'a'] 8786\n",
      "list(a)[0]: 8786 time: 0.02807474136352539 lenp(ha): 0.017040843927508792 rate: 0.00030048220239145676 i: 2222 ha.loc[0,'a'] 768\n",
      "list(a)[0]: 768 time: 0.021557331085205078 lenp(ha): 0.016770354341357856 rate: 0.0002957126436233384 i: 2223 ha.loc[0,'a'] 2942\n",
      "list(a)[0]: 2942 time: 0.02306365966796875 lenp(ha): 0.016499864755206924 rate: 0.00029094308485522007 i: 2224 ha.loc[0,'a'] 6323\n",
      "list(a)[0]: 6323 time: 0.0215303897857666 lenp(ha): 0.016229375169055992 rate: 0.0002861735260871017 i: 2225 ha.loc[0,'a'] 2955\n",
      "list(a)[0]: 2955 time: 0.01904916763305664 lenp(ha): 0.015958885582905057 rate: 0.0002814039673189833 i: 2226 ha.loc[0,'a'] 3297\n",
      "list(a)[0]: 3297 time: 0.018082141876220703 lenp(ha): 0.015688395996754124 rate: 0.00027663440855086495 i: 2227 ha.loc[0,'a'] 8036\n",
      "list(a)[0]: 8036 time: 0.02403569221496582 lenp(ha): 0.015417906410603192 rate: 0.0002718648497827466 i: 2228 ha.loc[0,'a'] 7478\n",
      "list(a)[0]: 7478 time: 0.023563146591186523 lenp(ha): 0.015147416824452259 rate: 0.0002670952910146282 i: 2229 ha.loc[0,'a'] 5015\n",
      "list(a)[0]: 5015 time: 0.024063587188720703 lenp(ha): 0.014876927238301325 rate: 0.0002623257322465099 i: 2230 ha.loc[0,'a'] 944\n",
      "list(a)[0]: 944 time: 0.02857494354248047 lenp(ha): 0.014606437652150393 rate: 0.0002575561734783915 i: 2231 ha.loc[0,'a'] 4544\n",
      "list(a)[0]: 4544 time: 0.017546892166137695 lenp(ha): 0.014335948065999459 rate: 0.00025278661471027315 i: 2232 ha.loc[0,'a'] 3690\n",
      "list(a)[0]: 3690 time: 0.029045581817626953 lenp(ha): 0.014065458479848527 rate: 0.0002480170559421548 i: 2233 ha.loc[0,'a'] 2252\n",
      "list(a)[0]: 2252 time: 0.01905083656311035 lenp(ha): 0.013794968893697593 rate: 0.00024324749717403643 i: 2234 ha.loc[0,'a'] 7443\n",
      "list(a)[0]: 7443 time: 0.02255988121032715 lenp(ha): 0.013524479307546659 rate: 0.00023847793840591806 i: 2235 ha.loc[0,'a'] 591\n",
      "list(a)[0]: 591 time: 0.03208494186401367 lenp(ha): 0.013253989721395727 rate: 0.00023370837963779972 i: 2236 ha.loc[0,'a'] 5297\n",
      "list(a)[0]: 5297 time: 0.01654505729675293 lenp(ha): 0.012983500135244793 rate: 0.00022893882086968135 i: 2237 ha.loc[0,'a'] 991\n",
      "list(a)[0]: 991 time: 0.020053863525390625 lenp(ha): 0.01271301054909386 rate: 0.00022416926210156298 i: 2238 ha.loc[0,'a'] 196\n",
      "list(a)[0]: 196 time: 0.030579328536987305 lenp(ha): 0.012442520962942927 rate: 0.00021939970333344463 i: 2239 ha.loc[0,'a'] 434\n",
      "list(a)[0]: 434 time: 0.018550872802734375 lenp(ha): 0.012172031376791993 rate: 0.00021463014456532626 i: 2240 ha.loc[0,'a'] 1617\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1617 time: 0.017072677612304688 lenp(ha): 0.011901541790641061 rate: 0.0002098605857972079 i: 2241 ha.loc[0,'a'] 1605\n",
      "list(a)[0]: 1605 time: 0.020049333572387695 lenp(ha): 0.011631052204490127 rate: 0.00020509102702908954 i: 2242 ha.loc[0,'a'] 776\n",
      "list(a)[0]: 776 time: 0.03007650375366211 lenp(ha): 0.011360562618339193 rate: 0.00020032146826097117 i: 2243 ha.loc[0,'a'] 4231\n",
      "list(a)[0]: 4231 time: 0.01704549789428711 lenp(ha): 0.011090073032188261 rate: 0.00019555190949285283 i: 2244 ha.loc[0,'a'] 8780\n",
      "list(a)[0]: 8780 time: 0.0345914363861084 lenp(ha): 0.010819583446037328 rate: 0.00019078235072473446 i: 2245 ha.loc[0,'a'] 423\n",
      "list(a)[0]: 423 time: 0.019051790237426758 lenp(ha): 0.010549093859886394 rate: 0.00018601279195661608 i: 2246 ha.loc[0,'a'] 375\n",
      "list(a)[0]: 375 time: 0.019552946090698242 lenp(ha): 0.010278604273735462 rate: 0.00018124323318849774 i: 2247 ha.loc[0,'a'] 1609\n",
      "list(a)[0]: 1609 time: 0.02606821060180664 lenp(ha): 0.010008114687584528 rate: 0.00017647367442037937 i: 2248 ha.loc[0,'a'] 1082\n",
      "list(a)[0]: 1082 time: 0.017513275146484375 lenp(ha): 0.009737625101433596 rate: 0.000171704115652261 i: 2249 ha.loc[0,'a'] 593\n",
      "list(a)[0]: 593 time: 0.019080400466918945 lenp(ha): 0.009467135515282662 rate: 0.00016693455688414265 i: 2250 ha.loc[0,'a'] 4061\n",
      "list(a)[0]: 4061 time: 0.029045581817626953 lenp(ha): 0.009196645929131728 rate: 0.00016216499811602428 i: 2251 ha.loc[0,'a'] 8847\n",
      "list(a)[0]: 8847 time: 0.019583940505981445 lenp(ha): 0.008926156342980796 rate: 0.00015739543934790594 i: 2252 ha.loc[0,'a'] 6662\n",
      "list(a)[0]: 6662 time: 0.018549203872680664 lenp(ha): 0.008655666756829862 rate: 0.00015262588057978756 i: 2253 ha.loc[0,'a'] 2764\n",
      "list(a)[0]: 2764 time: 0.03258657455444336 lenp(ha): 0.008385177170678928 rate: 0.0001478563218116692 i: 2254 ha.loc[0,'a'] 5673\n",
      "list(a)[0]: 5673 time: 0.01702427864074707 lenp(ha): 0.008114687584527996 rate: 0.00014308676304355085 i: 2255 ha.loc[0,'a'] 8402\n",
      "list(a)[0]: 8402 time: 0.02757549285888672 lenp(ha): 0.007844197998377062 rate: 0.00013831720427543248 i: 2256 ha.loc[0,'a'] 3728\n",
      "list(a)[0]: 3728 time: 0.017044544219970703 lenp(ha): 0.007573708412226129 rate: 0.0001335476455073141 i: 2257 ha.loc[0,'a'] 780\n",
      "list(a)[0]: 780 time: 0.01804947853088379 lenp(ha): 0.007303218826075196 rate: 0.00012877808673919576 i: 2258 ha.loc[0,'a'] 1218\n",
      "list(a)[0]: 1218 time: 0.01857924461364746 lenp(ha): 0.007032729239924263 rate: 0.0001240085279710774 i: 2259 ha.loc[0,'a'] 3107\n",
      "list(a)[0]: 3107 time: 0.02757573127746582 lenp(ha): 0.0067622396537733295 rate: 0.00011923896920295903 i: 2260 ha.loc[0,'a'] 7754\n",
      "list(a)[0]: 7754 time: 0.018549442291259766 lenp(ha): 0.0064917500676223965 rate: 0.00011446941043484067 i: 2261 ha.loc[0,'a'] 4857\n",
      "list(a)[0]: 4857 time: 0.0210573673248291 lenp(ha): 0.0062212604814714636 rate: 0.00010969985166672232 i: 2262 ha.loc[0,'a'] 8655\n",
      "list(a)[0]: 8655 time: 0.018551349639892578 lenp(ha): 0.005950770895320531 rate: 0.00010493029289860394 i: 2263 ha.loc[0,'a'] 4412\n",
      "list(a)[0]: 4412 time: 0.018047571182250977 lenp(ha): 0.005680281309169597 rate: 0.00010016073413048559 i: 2264 ha.loc[0,'a'] 539\n",
      "list(a)[0]: 539 time: 0.02306222915649414 lenp(ha): 0.005409791723018664 rate: 9.539117536236723e-05 i: 2265 ha.loc[0,'a'] 6843\n",
      "list(a)[0]: 6843 time: 0.023064613342285156 lenp(ha): 0.005139302136867731 rate: 9.062161659424887e-05 i: 2266 ha.loc[0,'a'] 8360\n",
      "list(a)[0]: 8360 time: 0.019051790237426758 lenp(ha): 0.004868812550716798 rate: 8.58520578261305e-05 i: 2267 ha.loc[0,'a'] 3996\n",
      "list(a)[0]: 3996 time: 0.022562026977539062 lenp(ha): 0.004598322964565864 rate: 8.108249905801214e-05 i: 2268 ha.loc[0,'a'] 8200\n",
      "list(a)[0]: 8200 time: 0.021554946899414062 lenp(ha): 0.004327833378414931 rate: 7.631294028989378e-05 i: 2269 ha.loc[0,'a'] 4961\n",
      "list(a)[0]: 4961 time: 0.01905083656311035 lenp(ha): 0.004057343792263998 rate: 7.154338152177542e-05 i: 2270 ha.loc[0,'a'] 7383\n",
      "list(a)[0]: 7383 time: 0.026069164276123047 lenp(ha): 0.0037868542061130646 rate: 6.677382275365705e-05 i: 2271 ha.loc[0,'a'] 269\n",
      "list(a)[0]: 269 time: 0.025066375732421875 lenp(ha): 0.0035163646199621317 rate: 6.20042639855387e-05 i: 2272 ha.loc[0,'a'] 959\n",
      "list(a)[0]: 959 time: 0.018549203872680664 lenp(ha): 0.0032458750338111983 rate: 5.723470521742034e-05 i: 2273 ha.loc[0,'a'] 8290\n",
      "list(a)[0]: 8290 time: 0.028578519821166992 lenp(ha): 0.0029753854476602653 rate: 5.246514644930197e-05 i: 2274 ha.loc[0,'a'] 1185\n",
      "list(a)[0]: 1185 time: 0.026072978973388672 lenp(ha): 0.002704895861509332 rate: 4.7695587681183614e-05 i: 2275 ha.loc[0,'a'] 1384\n",
      "list(a)[0]: 1384 time: 0.018077373504638672 lenp(ha): 0.002434406275358399 rate: 4.292602891306525e-05 i: 2276 ha.loc[0,'a'] 7079\n",
      "list(a)[0]: 7079 time: 0.01754593849182129 lenp(ha): 0.0021639166892074655 rate: 3.815647014494689e-05 i: 2277 ha.loc[0,'a'] 5061\n",
      "list(a)[0]: 5061 time: 0.018719911575317383 lenp(ha): 0.0018934271030565323 rate: 3.3386911376828526e-05 i: 2278 ha.loc[0,'a'] 4957\n",
      "list(a)[0]: 4957 time: 0.016543149948120117 lenp(ha): 0.0016229375169055991 rate: 2.861735260871017e-05 i: 2279 ha.loc[0,'a'] 4723\n",
      "list(a)[0]: 4723 time: 0.0240933895111084 lenp(ha): 0.001352447930754666 rate: 2.3847793840591807e-05 i: 2280 ha.loc[0,'a'] 6586\n",
      "list(a)[0]: 6586 time: 0.02456212043762207 lenp(ha): 0.0010819583446037328 rate: 1.9078235072473446e-05 i: 2281 ha.loc[0,'a'] 4526\n",
      "list(a)[0]: 4526 time: 0.01804804801940918 lenp(ha): 0.0008114687584527996 rate: 1.4308676304355084e-05 i: 2282 ha.loc[0,'a'] 5993\n",
      "list(a)[0]: 5993 time: 0.033087730407714844 lenp(ha): 0.0005409791723018664 rate: 9.539117536236723e-06 i: 2283 ha.loc[0,'a'] 5481\n",
      "list(a)[0]: 5481 time: 0.021056175231933594 lenp(ha): 0.0002704895861509332 rate: 4.769558768118361e-06 i: 2284 ha.loc[0,'a'] 8187\n",
      "list(a)[0]: 8187 time: 0.017045021057128906 lenp(ha): 0.0 rate: 0.0 i: 2285 处理完毕！\n"
     ]
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "ha=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\a.csv')\n",
    "os_train=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\os_train_shop.csv')\n",
    "i=os_train['shop_id'].max()+1\n",
    "# import winsound\n",
    "import time\n",
    "global indexxx, merid\n",
    "indexxx=[]\n",
    "merid=[]\n",
    "while 1:\n",
    "    use=ha.loc[0,'a']\n",
    "    print('list(a)[0]:',use,end=' ')\n",
    "    start=time.time()\n",
    "    index1=shopn([use])\n",
    "    end=time.time()\n",
    "    print('time:',end-start,end=' ')\n",
    "    os_train.loc[list(set(index1)),'shop_id']=i\n",
    "    for ind in set(os_train.loc[list(set(index1)),'Merchant_id'].values):\n",
    "        ha.drop(list(ha[ha['a']==ind].index),axis=0,inplace=True)\n",
    "    print('lenp(ha):',len(ha)/3697,'rate:',(len(os_train)-len(set(indexxx)))/len(os_train),\\\n",
    "          'i:',i,end=' ')\n",
    "#     winsound.Beep(400,600)\n",
    "    i+=1\n",
    "    ha=ha.sort_values(by=['len'],ascending=False).copy()\n",
    "    ha.index=np.arange(0,len(ha),1)\n",
    "    if len(ha)==0:\n",
    "        print('处理完毕！')\n",
    "        break\n",
    "    print('ha.loc[0,\\'a\\']',ha.loc[0,'a'])\n",
    "    indexxx=list(set(indexxx))\n",
    "    merid=list(set(merid))\n",
    "#     ha.to_csv(r'D:\\Data\\TCForNewComer\\deal\\a.csv',index=False)\n",
    "#     os_train.to_csv(r'D:\\Data\\TCForNewComer\\deal\\os_train_shop.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "ha.to_csv(r'D:\\Data\\TCForNewComer\\deal\\a.csv',index=False)\n",
    "os_train.to_csv(r'D:\\Data\\TCForNewComer\\deal\\os_train_shop.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>User_id</th>\n",
       "      <th>Merchant_id</th>\n",
       "      <th>Coupon_id</th>\n",
       "      <th>Discount_rate</th>\n",
       "      <th>Distance</th>\n",
       "      <th>Date_received</th>\n",
       "      <th>Date</th>\n",
       "      <th>ord_buy</th>\n",
       "      <th>Coupon_num</th>\n",
       "      <th>Coupon_nouse_num</th>\n",
       "      <th>...</th>\n",
       "      <th>Coupon_lep100</th>\n",
       "      <th>Coupon_grp100</th>\n",
       "      <th>Avg_saler_Coupon</th>\n",
       "      <th>Avg_distance</th>\n",
       "      <th>shop_count</th>\n",
       "      <th>shop_pro</th>\n",
       "      <th>Coupon_diffcount</th>\n",
       "      <th>Coupon_diffpro</th>\n",
       "      <th>same_Coupon_count</th>\n",
       "      <th>shop_id</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>215</td>\n",
       "      <td>129</td>\n",
       "      <td>8944</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>524</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>316</td>\n",
       "      <td>7974</td>\n",
       "      <td>8952</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0</td>\n",
       "      <td>430</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>417</td>\n",
       "      <td>3381</td>\n",
       "      <td>11951</td>\n",
       "      <td>180.0</td>\n",
       "      <td>0</td>\n",
       "      <td>227</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>417</td>\n",
       "      <td>450</td>\n",
       "      <td>8555</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>203</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>417</td>\n",
       "      <td>6434</td>\n",
       "      <td>10050</td>\n",
       "      <td>45.0</td>\n",
       "      <td>0</td>\n",
       "      <td>227</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>417</td>\n",
       "      <td>3888</td>\n",
       "      <td>11366</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0</td>\n",
       "      <td>227</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>417</td>\n",
       "      <td>775</td>\n",
       "      <td>5435</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>329</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>432</td>\n",
       "      <td>6424</td>\n",
       "      <td>1315</td>\n",
       "      <td>90.0</td>\n",
       "      <td>1</td>\n",
       "      <td>129</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>432</td>\n",
       "      <td>1041</td>\n",
       "      <td>13490</td>\n",
       "      <td>25.0</td>\n",
       "      <td>2</td>\n",
       "      <td>129</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>432</td>\n",
       "      <td>1569</td>\n",
       "      <td>5054</td>\n",
       "      <td>170.0</td>\n",
       "      <td>4</td>\n",
       "      <td>405</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>448</td>\n",
       "      <td>3381</td>\n",
       "      <td>11951</td>\n",
       "      <td>180.0</td>\n",
       "      <td>1</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>448</td>\n",
       "      <td>2709</td>\n",
       "      <td>2840</td>\n",
       "      <td>90.0</td>\n",
       "      <td>1</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>448</td>\n",
       "      <td>7555</td>\n",
       "      <td>9871</td>\n",
       "      <td>25.0</td>\n",
       "      <td>2</td>\n",
       "      <td>406</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>448</td>\n",
       "      <td>4833</td>\n",
       "      <td>7802</td>\n",
       "      <td>180.0</td>\n",
       "      <td>8</td>\n",
       "      <td>130</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>448</td>\n",
       "      <td>8077</td>\n",
       "      <td>6680</td>\n",
       "      <td>90.0</td>\n",
       "      <td>10</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>448</td>\n",
       "      <td>3381</td>\n",
       "      <td>1807</td>\n",
       "      <td>270.0</td>\n",
       "      <td>1</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>452</td>\n",
       "      <td>7605</td>\n",
       "      <td>9787</td>\n",
       "      <td>15.0</td>\n",
       "      <td>0</td>\n",
       "      <td>323</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>452</td>\n",
       "      <td>7921</td>\n",
       "      <td>7730</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>452</td>\n",
       "      <td>7921</td>\n",
       "      <td>12365</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>452</td>\n",
       "      <td>7921</td>\n",
       "      <td>8998</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>470</td>\n",
       "      <td>1892</td>\n",
       "      <td>452</td>\n",
       "      <td>90.0</td>\n",
       "      <td>2</td>\n",
       "      <td>113</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>470</td>\n",
       "      <td>7717</td>\n",
       "      <td>9614</td>\n",
       "      <td>19.0</td>\n",
       "      <td>2</td>\n",
       "      <td>424</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>569</td>\n",
       "      <td>4869</td>\n",
       "      <td>4788</td>\n",
       "      <td>45.0</td>\n",
       "      <td>2</td>\n",
       "      <td>604</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>728</td>\n",
       "      <td>4043</td>\n",
       "      <td>3222</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>518</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>736</td>\n",
       "      <td>450</td>\n",
       "      <td>1532</td>\n",
       "      <td>25.0</td>\n",
       "      <td>5</td>\n",
       "      <td>516</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>736</td>\n",
       "      <td>2709</td>\n",
       "      <td>2840</td>\n",
       "      <td>90.0</td>\n",
       "      <td>2</td>\n",
       "      <td>131</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>766</td>\n",
       "      <td>3630</td>\n",
       "      <td>3690</td>\n",
       "      <td>15.0</td>\n",
       "      <td>2</td>\n",
       "      <td>323</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>766</td>\n",
       "      <td>3630</td>\n",
       "      <td>3690</td>\n",
       "      <td>15.0</td>\n",
       "      <td>2</td>\n",
       "      <td>323</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>878</td>\n",
       "      <td>450</td>\n",
       "      <td>1613</td>\n",
       "      <td>25.0</td>\n",
       "      <td>10</td>\n",
       "      <td>602</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>892</td>\n",
       "      <td>1569</td>\n",
       "      <td>5054</td>\n",
       "      <td>170.0</td>\n",
       "      <td>2</td>\n",
       "      <td>426</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209633</th>\n",
       "      <td>7359538</td>\n",
       "      <td>6885</td>\n",
       "      <td>13616</td>\n",
       "      <td>9.0</td>\n",
       "      <td>10</td>\n",
       "      <td>217</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209634</th>\n",
       "      <td>7359649</td>\n",
       "      <td>450</td>\n",
       "      <td>1532</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>525</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209635</th>\n",
       "      <td>7359692</td>\n",
       "      <td>2934</td>\n",
       "      <td>5686</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>325</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209636</th>\n",
       "      <td>7359692</td>\n",
       "      <td>2934</td>\n",
       "      <td>5686</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>325</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209637</th>\n",
       "      <td>7359699</td>\n",
       "      <td>3939</td>\n",
       "      <td>1110</td>\n",
       "      <td>95.0</td>\n",
       "      <td>0</td>\n",
       "      <td>531</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209638</th>\n",
       "      <td>7359794</td>\n",
       "      <td>2709</td>\n",
       "      <td>13165</td>\n",
       "      <td>90.0</td>\n",
       "      <td>10</td>\n",
       "      <td>509</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209639</th>\n",
       "      <td>7359805</td>\n",
       "      <td>3381</td>\n",
       "      <td>7610</td>\n",
       "      <td>180.0</td>\n",
       "      <td>4</td>\n",
       "      <td>413</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209640</th>\n",
       "      <td>7359809</td>\n",
       "      <td>450</td>\n",
       "      <td>1613</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>614</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209641</th>\n",
       "      <td>7359809</td>\n",
       "      <td>4748</td>\n",
       "      <td>1130</td>\n",
       "      <td>180.0</td>\n",
       "      <td>3</td>\n",
       "      <td>513</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209642</th>\n",
       "      <td>7359809</td>\n",
       "      <td>4660</td>\n",
       "      <td>1480</td>\n",
       "      <td>90.0</td>\n",
       "      <td>10</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209643</th>\n",
       "      <td>7359809</td>\n",
       "      <td>6434</td>\n",
       "      <td>10050</td>\n",
       "      <td>45.0</td>\n",
       "      <td>10</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209644</th>\n",
       "      <td>7360071</td>\n",
       "      <td>1469</td>\n",
       "      <td>7430</td>\n",
       "      <td>30.0</td>\n",
       "      <td>3</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209645</th>\n",
       "      <td>7360401</td>\n",
       "      <td>4660</td>\n",
       "      <td>1480</td>\n",
       "      <td>90.0</td>\n",
       "      <td>1</td>\n",
       "      <td>127</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209646</th>\n",
       "      <td>7360401</td>\n",
       "      <td>7555</td>\n",
       "      <td>17</td>\n",
       "      <td>25.0</td>\n",
       "      <td>5</td>\n",
       "      <td>127</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209647</th>\n",
       "      <td>7360401</td>\n",
       "      <td>450</td>\n",
       "      <td>1532</td>\n",
       "      <td>25.0</td>\n",
       "      <td>5</td>\n",
       "      <td>522</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209648</th>\n",
       "      <td>7360401</td>\n",
       "      <td>760</td>\n",
       "      <td>2418</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>605</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209649</th>\n",
       "      <td>7360432</td>\n",
       "      <td>8144</td>\n",
       "      <td>11344</td>\n",
       "      <td>19.0</td>\n",
       "      <td>1</td>\n",
       "      <td>515</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209650</th>\n",
       "      <td>7360556</td>\n",
       "      <td>6434</td>\n",
       "      <td>10050</td>\n",
       "      <td>45.0</td>\n",
       "      <td>10</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209651</th>\n",
       "      <td>7360556</td>\n",
       "      <td>4660</td>\n",
       "      <td>1480</td>\n",
       "      <td>90.0</td>\n",
       "      <td>3</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209652</th>\n",
       "      <td>7360556</td>\n",
       "      <td>6284</td>\n",
       "      <td>7379</td>\n",
       "      <td>40.0</td>\n",
       "      <td>6</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209653</th>\n",
       "      <td>7360651</td>\n",
       "      <td>8856</td>\n",
       "      <td>83</td>\n",
       "      <td>9.0</td>\n",
       "      <td>0</td>\n",
       "      <td>606</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>324</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209654</th>\n",
       "      <td>7360785</td>\n",
       "      <td>6424</td>\n",
       "      <td>1315</td>\n",
       "      <td>90.0</td>\n",
       "      <td>8</td>\n",
       "      <td>131</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209655</th>\n",
       "      <td>7360845</td>\n",
       "      <td>1569</td>\n",
       "      <td>5054</td>\n",
       "      <td>170.0</td>\n",
       "      <td>8</td>\n",
       "      <td>413</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209656</th>\n",
       "      <td>7360845</td>\n",
       "      <td>450</td>\n",
       "      <td>3732</td>\n",
       "      <td>25.0</td>\n",
       "      <td>8</td>\n",
       "      <td>410</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209657</th>\n",
       "      <td>7360845</td>\n",
       "      <td>5341</td>\n",
       "      <td>11539</td>\n",
       "      <td>25.0</td>\n",
       "      <td>8</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209658</th>\n",
       "      <td>7360967</td>\n",
       "      <td>6485</td>\n",
       "      <td>10323</td>\n",
       "      <td>15.0</td>\n",
       "      <td>1</td>\n",
       "      <td>322</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209659</th>\n",
       "      <td>7360967</td>\n",
       "      <td>6485</td>\n",
       "      <td>10323</td>\n",
       "      <td>15.0</td>\n",
       "      <td>1</td>\n",
       "      <td>322</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209660</th>\n",
       "      <td>7360967</td>\n",
       "      <td>3103</td>\n",
       "      <td>2375</td>\n",
       "      <td>29.0</td>\n",
       "      <td>2</td>\n",
       "      <td>120</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>68</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209661</th>\n",
       "      <td>7360967</td>\n",
       "      <td>3103</td>\n",
       "      <td>2375</td>\n",
       "      <td>29.0</td>\n",
       "      <td>2</td>\n",
       "      <td>110</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>68</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209662</th>\n",
       "      <td>7361024</td>\n",
       "      <td>1433</td>\n",
       "      <td>8735</td>\n",
       "      <td>25.0</td>\n",
       "      <td>10</td>\n",
       "      <td>211</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>209663 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        User_id  Merchant_id  Coupon_id  Discount_rate  Distance  \\\n",
       "0           215          129       8944           25.0         1   \n",
       "1           316         7974       8952           40.0         0   \n",
       "2           417         3381      11951          180.0         0   \n",
       "3           417          450       8555           25.0         1   \n",
       "4           417         6434      10050           45.0         0   \n",
       "5           417         3888      11366           40.0         0   \n",
       "6           417          775       5435           25.0         0   \n",
       "7           432         6424       1315           90.0         1   \n",
       "8           432         1041      13490           25.0         2   \n",
       "9           432         1569       5054          170.0         4   \n",
       "10          448         3381      11951          180.0         1   \n",
       "11          448         2709       2840           90.0         1   \n",
       "12          448         7555       9871           25.0         2   \n",
       "13          448         4833       7802          180.0         8   \n",
       "14          448         8077       6680           90.0        10   \n",
       "15          448         3381       1807          270.0         1   \n",
       "16          452         7605       9787           15.0         0   \n",
       "17          452         7921       7730           25.0         1   \n",
       "18          452         7921      12365           25.0         1   \n",
       "19          452         7921       8998           25.0         1   \n",
       "20          470         1892        452           90.0         2   \n",
       "21          470         7717       9614           19.0         2   \n",
       "22          569         4869       4788           45.0         2   \n",
       "23          728         4043       3222           25.0         1   \n",
       "24          736          450       1532           25.0         5   \n",
       "25          736         2709       2840           90.0         2   \n",
       "26          766         3630       3690           15.0         2   \n",
       "27          766         3630       3690           15.0         2   \n",
       "28          878          450       1613           25.0        10   \n",
       "29          892         1569       5054          170.0         2   \n",
       "...         ...          ...        ...            ...       ...   \n",
       "209633  7359538         6885      13616            9.0        10   \n",
       "209634  7359649          450       1532           25.0         1   \n",
       "209635  7359692         2934       5686           25.0         0   \n",
       "209636  7359692         2934       5686           25.0         0   \n",
       "209637  7359699         3939       1110           95.0         0   \n",
       "209638  7359794         2709      13165           90.0        10   \n",
       "209639  7359805         3381       7610          180.0         4   \n",
       "209640  7359809          450       1613           25.0         0   \n",
       "209641  7359809         4748       1130          180.0         3   \n",
       "209642  7359809         4660       1480           90.0        10   \n",
       "209643  7359809         6434      10050           45.0        10   \n",
       "209644  7360071         1469       7430           30.0         3   \n",
       "209645  7360401         4660       1480           90.0         1   \n",
       "209646  7360401         7555         17           25.0         5   \n",
       "209647  7360401          450       1532           25.0         5   \n",
       "209648  7360401          760       2418           25.0         0   \n",
       "209649  7360432         8144      11344           19.0         1   \n",
       "209650  7360556         6434      10050           45.0        10   \n",
       "209651  7360556         4660       1480           90.0         3   \n",
       "209652  7360556         6284       7379           40.0         6   \n",
       "209653  7360651         8856         83            9.0         0   \n",
       "209654  7360785         6424       1315           90.0         8   \n",
       "209655  7360845         1569       5054          170.0         8   \n",
       "209656  7360845          450       3732           25.0         8   \n",
       "209657  7360845         5341      11539           25.0         8   \n",
       "209658  7360967         6485      10323           15.0         1   \n",
       "209659  7360967         6485      10323           15.0         1   \n",
       "209660  7360967         3103       2375           29.0         2   \n",
       "209661  7360967         3103       2375           29.0         2   \n",
       "209662  7361024         1433       8735           25.0        10   \n",
       "\n",
       "        Date_received  Date  ord_buy  Coupon_num  Coupon_nouse_num   ...     \\\n",
       "0                 524     0        1           1                 1   ...      \n",
       "1                 430     0        0           1                 1   ...      \n",
       "2                 227     0        0           5                 4   ...      \n",
       "3                 203     0        0           5                 4   ...      \n",
       "4                 227     0        0           5                 4   ...      \n",
       "5                 227     0        0           5                 4   ...      \n",
       "6                 329     1        1           5                 4   ...      \n",
       "7                 129     0        0           3                 3   ...      \n",
       "8                 129     0        0           3                 3   ...      \n",
       "9                 405     0        0           3                 3   ...      \n",
       "10                128     0        0           9                 9   ...      \n",
       "11                128     0        0           9                 9   ...      \n",
       "12                406     0        0           9                 9   ...      \n",
       "13                130     0        0           9                 9   ...      \n",
       "14                128     0        0           9                 9   ...      \n",
       "15                128     0        0           9                 9   ...      \n",
       "16                323     0        1           4                 4   ...      \n",
       "17                521     0        1           4                 4   ...      \n",
       "18                521     0        1           4                 4   ...      \n",
       "19                521     0        1           4                 4   ...      \n",
       "20                113     0        1           2                 2   ...      \n",
       "21                424     0        0           2                 2   ...      \n",
       "22                604     0        0           1                 1   ...      \n",
       "23                518     0        0           2                 2   ...      \n",
       "24                516     0        0           2                 2   ...      \n",
       "25                131     0        0           2                 2   ...      \n",
       "26                323     0        1           2                 2   ...      \n",
       "27                323     0        1           2                 2   ...      \n",
       "28                602     0        1           1                 1   ...      \n",
       "29                426     0        0           1                 1   ...      \n",
       "...               ...   ...      ...         ...               ...   ...      \n",
       "209633            217     1        1           3                 2   ...      \n",
       "209634            525     0        0           1                 1   ...      \n",
       "209635            325     0        2           2                 2   ...      \n",
       "209636            325     0        2           2                 2   ...      \n",
       "209637            531     0        0           1                 1   ...      \n",
       "209638            509     0        0           1                 1   ...      \n",
       "209639            413     0        0           1                 1   ...      \n",
       "209640            614     0        0           4                 4   ...      \n",
       "209641            513     0        0           4                 4   ...      \n",
       "209642            125     0        0           4                 4   ...      \n",
       "209643            125     0        0           4                 4   ...      \n",
       "209644            521     0        0           1                 1   ...      \n",
       "209645            127     0        0           4                 4   ...      \n",
       "209646            127     0        0           4                 4   ...      \n",
       "209647            522     0        0           4                 4   ...      \n",
       "209648            605     0        0           4                 4   ...      \n",
       "209649            515     0        1           1                 1   ...      \n",
       "209650            125     0        0           3                 3   ...      \n",
       "209651            125     0        0           3                 3   ...      \n",
       "209652            125     0        0           3                 3   ...      \n",
       "209653            606     0        3           1                 1   ...      \n",
       "209654            131     0        0           1                 1   ...      \n",
       "209655            413     0        0           3                 2   ...      \n",
       "209656            410     0        0           3                 2   ...      \n",
       "209657            128     0        0           3                 2   ...      \n",
       "209658            322     0        0           4                 4   ...      \n",
       "209659            322     0        0           4                 4   ...      \n",
       "209660            120     0        2           4                 4   ...      \n",
       "209661            110     0        2           4                 4   ...      \n",
       "209662            211     0        0           1                 1   ...      \n",
       "\n",
       "        Coupon_lep100  Coupon_grp100  Avg_saler_Coupon  Avg_distance  \\\n",
       "0                 0.0            0.0                 0           0.0   \n",
       "1                 0.0            0.0                 0           0.0   \n",
       "2                 1.0            0.0                 1           0.0   \n",
       "3                 1.0            0.0                 0           0.0   \n",
       "4                 1.0            0.0                 1           0.0   \n",
       "5                 1.0            0.0                 1           0.0   \n",
       "6                 1.0            0.0                 1           0.0   \n",
       "7                 0.0            0.0                 0           0.0   \n",
       "8                 0.0            0.0                 0           0.0   \n",
       "9                 0.0            0.0                 0           0.0   \n",
       "10                0.0            0.0                 0           0.0   \n",
       "11                0.0            0.0                 0           0.0   \n",
       "12                0.0            0.0                 0           0.0   \n",
       "13                0.0            0.0                 0           0.0   \n",
       "14                0.0            0.0                 0           0.0   \n",
       "15                0.0            0.0                 0           0.0   \n",
       "16                0.0            0.0                 0           0.0   \n",
       "17                0.0            0.0                 0           0.0   \n",
       "18                0.0            0.0                 0           0.0   \n",
       "19                0.0            0.0                 0           0.0   \n",
       "20                0.0            0.0                 0           0.0   \n",
       "21                0.0            0.0                 0           0.0   \n",
       "22                0.0            0.0                 0           0.0   \n",
       "23                0.0            0.0                 0           0.0   \n",
       "24                0.0            0.0                 0           0.0   \n",
       "25                0.0            0.0                 0           0.0   \n",
       "26                0.0            0.0                 0           0.0   \n",
       "27                0.0            0.0                 0           0.0   \n",
       "28                0.0            0.0                 0           0.0   \n",
       "29                0.0            0.0                 0           0.0   \n",
       "...               ...            ...               ...           ...   \n",
       "209633            1.0            0.0                 1          10.0   \n",
       "209634            0.0            0.0                 0           0.0   \n",
       "209635            0.0            0.0                 0           0.0   \n",
       "209636            0.0            0.0                 0           0.0   \n",
       "209637            0.0            0.0                 0           0.0   \n",
       "209638            0.0            0.0                 0           0.0   \n",
       "209639            0.0            0.0                 0           0.0   \n",
       "209640            0.0            0.0                 0           0.0   \n",
       "209641            0.0            0.0                 0           0.0   \n",
       "209642            0.0            0.0                 0           0.0   \n",
       "209643            0.0            0.0                 0           0.0   \n",
       "209644            0.0            0.0                 0           0.0   \n",
       "209645            0.0            0.0                 0           0.0   \n",
       "209646            0.0            0.0                 0           0.0   \n",
       "209647            0.0            0.0                 0           0.0   \n",
       "209648            0.0            0.0                 0           0.0   \n",
       "209649            0.0            0.0                 0           0.0   \n",
       "209650            0.0            0.0                 0           0.0   \n",
       "209651            0.0            0.0                 0           0.0   \n",
       "209652            0.0            0.0                 0           0.0   \n",
       "209653            0.0            0.0                 0           0.0   \n",
       "209654            0.0            0.0                 0           0.0   \n",
       "209655            0.0            0.0                 0           0.0   \n",
       "209656            0.0            0.0                 0           0.0   \n",
       "209657            0.0            0.0                 0           0.0   \n",
       "209658            0.0            0.0                 0           0.0   \n",
       "209659            0.0            0.0                 0           0.0   \n",
       "209660            0.0            0.0                 0           0.0   \n",
       "209661            0.0            0.0                 0           0.0   \n",
       "209662            0.0            0.0                 0           0.0   \n",
       "\n",
       "        shop_count  shop_pro  Coupon_diffcount  Coupon_diffpro  \\\n",
       "0                0       0.0                 0             0.0   \n",
       "1                0       0.0                 0             0.0   \n",
       "2                1       1.0                 1             0.0   \n",
       "3                1       0.0                 1             0.0   \n",
       "4                1       1.0                 1             0.0   \n",
       "5                1       1.0                 1             0.0   \n",
       "6                1       1.0                 1             1.0   \n",
       "7                0       0.0                 0             0.0   \n",
       "8                0       0.0                 0             0.0   \n",
       "9                0       0.0                 0             0.0   \n",
       "10               0       0.0                 0             0.0   \n",
       "11               0       0.0                 0             0.0   \n",
       "12               0       0.0                 0             0.0   \n",
       "13               0       0.0                 0             0.0   \n",
       "14               0       0.0                 0             0.0   \n",
       "15               0       0.0                 0             0.0   \n",
       "16               0       0.0                 0             0.0   \n",
       "17               0       0.0                 0             0.0   \n",
       "18               0       0.0                 0             0.0   \n",
       "19               0       0.0                 0             0.0   \n",
       "20               0       0.0                 0             0.0   \n",
       "21               0       0.0                 0             0.0   \n",
       "22               0       0.0                 0             0.0   \n",
       "23               0       0.0                 0             0.0   \n",
       "24               0       0.0                 0             0.0   \n",
       "25               0       0.0                 0             0.0   \n",
       "26               0       0.0                 0             0.0   \n",
       "27               0       0.0                 0             0.0   \n",
       "28               0       0.0                 0             0.0   \n",
       "29               0       0.0                 0             0.0   \n",
       "...            ...       ...               ...             ...   \n",
       "209633           1       1.0                 1             1.0   \n",
       "209634           0       0.0                 0             0.0   \n",
       "209635           0       0.0                 0             0.0   \n",
       "209636           0       0.0                 0             0.0   \n",
       "209637           0       0.0                 0             0.0   \n",
       "209638           0       0.0                 0             0.0   \n",
       "209639           0       0.0                 0             0.0   \n",
       "209640           0       0.0                 0             0.0   \n",
       "209641           0       0.0                 0             0.0   \n",
       "209642           0       0.0                 0             0.0   \n",
       "209643           0       0.0                 0             0.0   \n",
       "209644           0       0.0                 0             0.0   \n",
       "209645           0       0.0                 0             0.0   \n",
       "209646           0       0.0                 0             0.0   \n",
       "209647           0       0.0                 0             0.0   \n",
       "209648           0       0.0                 0             0.0   \n",
       "209649           0       0.0                 0             0.0   \n",
       "209650           0       0.0                 0             0.0   \n",
       "209651           0       0.0                 0             0.0   \n",
       "209652           0       0.0                 0             0.0   \n",
       "209653           0       0.0                 0             0.0   \n",
       "209654           0       0.0                 0             0.0   \n",
       "209655           0       0.0                 0             0.0   \n",
       "209656           0       0.0                 0             0.0   \n",
       "209657           0       0.0                 0             0.0   \n",
       "209658           0       0.0                 0             0.0   \n",
       "209659           0       0.0                 0             0.0   \n",
       "209660           0       0.0                 0             0.0   \n",
       "209661           0       0.0                 0             0.0   \n",
       "209662           0       0.0                 0             0.0   \n",
       "\n",
       "        same_Coupon_count  shop_id  \n",
       "0                       0        1  \n",
       "1                       0        1  \n",
       "2                       1        1  \n",
       "3                       1        1  \n",
       "4                       1        1  \n",
       "5                       1        1  \n",
       "6                       1        1  \n",
       "7                       0        1  \n",
       "8                       0        1  \n",
       "9                       0        1  \n",
       "10                      0        1  \n",
       "11                      0        1  \n",
       "12                      0        1  \n",
       "13                      0        1  \n",
       "14                      0        1  \n",
       "15                      0        1  \n",
       "16                      0        1  \n",
       "17                      0        1  \n",
       "18                      0        1  \n",
       "19                      0        1  \n",
       "20                      0        1  \n",
       "21                      0        1  \n",
       "22                      0        1  \n",
       "23                      0        1  \n",
       "24                      0        1  \n",
       "25                      0        1  \n",
       "26                      0        1  \n",
       "27                      0        1  \n",
       "28                      0        1  \n",
       "29                      0        1  \n",
       "...                   ...      ...  \n",
       "209633                  2        1  \n",
       "209634                  0        1  \n",
       "209635                  0        1  \n",
       "209636                  0        1  \n",
       "209637                  0        1  \n",
       "209638                  0        1  \n",
       "209639                  0        1  \n",
       "209640                  0        1  \n",
       "209641                  0        1  \n",
       "209642                  0        1  \n",
       "209643                  0        1  \n",
       "209644                  0        1  \n",
       "209645                  0        1  \n",
       "209646                  0        1  \n",
       "209647                  0        1  \n",
       "209648                  0        1  \n",
       "209649                  0        1  \n",
       "209650                  0        1  \n",
       "209651                  0        1  \n",
       "209652                  0        1  \n",
       "209653                  0      324  \n",
       "209654                  0        1  \n",
       "209655                  0        1  \n",
       "209656                  0        1  \n",
       "209657                  0        1  \n",
       "209658                  0        1  \n",
       "209659                  0        1  \n",
       "209660                  0       68  \n",
       "209661                  0       68  \n",
       "209662                  0        1  \n",
       "\n",
       "[209663 rows x 24 columns]"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "os_train"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true,
    "scrolled": false
   },
   "outputs": [],
   "source": [
    "global indexxx, merid\n",
    "indexxx=[]\n",
    "merid=[]\n",
    "start=time.time()\n",
    "index1=shopn([450])\n",
    "end=time.time()\n",
    "print('time:',end-start,end=' ')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true,
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "indexxx.sort()\n",
    "indexxx"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "len(set(indexxx))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "6324251 in os_train[os_train['Merchant_id']==7555]['User_id'].values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "os_train[os_train['Merchant_id']==7555]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "merid"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
